Skip to content

PutStream Method ​

Definition ​

  • Namespace: JASE.Network
  • Assembly: JASE.Network.dll

Overloads ​

NameDescription
Task<HttpTransaction> PutStream(string url, byte[] content, string contentType = null, string userAgent = null, IReadOnlyDictionary<string, string> headers = null, ClientCredential credentials = null, CookieCollection cookies = null, CancellationToken cancellationToken = null)PUT a byte[] to a url as Stream content
Task<HttpTransaction> PutStream(string url, StreamContent content, string contentType = null, string userAgent = null, IReadOnlyDictionary<string, string> headers = null, ClientCredential credentials = null, CookieCollection cookies = null, CancellationToken cancellationToken = null)PUT to a url as Stream content

Task<HttpTransaction> PutStream(string url, byte[] content, string contentType = null, string userAgent = null, IReadOnlyDictionary<string, string> headers = null, ClientCredential credentials = null, CookieCollection cookies = null, CancellationToken cancellationToken = null) ​

csharp
Task<HttpTransaction> PutStream(string url, byte[] content, string contentType = null, string userAgent = null, IReadOnlyDictionary<string, string> headers = null, ClientCredential credentials = null, CookieCollection cookies = null, CancellationToken cancellationToken = null)

PUT a byte[] to a url as Stream content

Task<HttpTransaction> PutStream(string url, StreamContent content, string contentType = null, string userAgent = null, IReadOnlyDictionary<string, string> headers = null, ClientCredential credentials = null, CookieCollection cookies = null, CancellationToken cancellationToken = null) ​

csharp
Task<HttpTransaction> PutStream(string url, StreamContent content, string contentType = null, string userAgent = null, IReadOnlyDictionary<string, string> headers = null, ClientCredential credentials = null, CookieCollection cookies = null, CancellationToken cancellationToken = null)

PUT to a url as Stream content