IRemoteTransport Type
Sends a request and returns the body of a successful response, raising RemoteCallException otherwise, or OperationCanceledException once the token is cancelled, which aborts the request.
Instance members
| Instance member |
Description
|
Full Usage:
this.Post
Parameters:
string
contentType : string
body : byte array
cancellationToken : CancellationToken
Returns: Task<byte array>
Modifiers: abstract |
|
Full Usage:
this.PostStream
Parameters:
string
contentType : string
body : byte array
cancellationToken : CancellationToken
Returns: Task<IRemoteBody>
Modifiers: abstract |
Sends a request and returns the body of a successful response as it comes, for a stream, raising RemoteCallException otherwise. The token aborts the request, and reading its body, until the body is disposed.
|
Orsak