Appearance
PostStream Method
Definition
- Namespace:
JASE.Network - Assembly:
JASE.Network.dll
Overloads
Task<HttpTransaction> PostStream(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> PostStream(string url, byte[] content, string contentType = null, string userAgent = null, IReadOnlyDictionary<string, string> headers = null, ClientCredential credentials = null, CookieCollection cookies = null, CancellationToken cancellationToken = null)POST a byte[] to a url as Stream content
Task<HttpTransaction> PostStream(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> PostStream(string url, StreamContent content, string contentType = null, string userAgent = null, IReadOnlyDictionary<string, string> headers = null, ClientCredential credentials = null, CookieCollection cookies = null, CancellationToken cancellationToken = null)POST to a url as Stream content