RemoteMember Type
A member of a remote interface, with the codecs of its arguments and result, made once: what a proxy calls.
Constructors
| Constructor |
Description
|
Full Usage:
RemoteMember(url, format, transport, arguments, result)
Parameters:
string
format : IWireFormat
transport : IRemoteTransport
arguments : IWireArgumentsCodec
result : IWireCodec
Returns: RemoteMember
|
|
Instance members
| Instance member |
Description
|
|
Calls a member that returns an Async, cancelled by the Async's own token.
|
Full Usage:
this.Call
Parameters:
obj array
-
The arguments sent, in order, without the member's CancellationToken
cancellationToken : CancellationToken
-
Cancels the call
Returns: Task<obj>
|
Calls the member, and returns its result as an object. Cancelling the token aborts the call, which raises OperationCanceledException, and the server's RequestAborted.
|
|
Calls a member that returns a stream, of items of the member's result type.
|
Full Usage:
this.Stream
Parameters:
obj array
cancellationToken : CancellationToken
Returns: RemoteStream<'T>
Type parameters: 'T |
Calls a member that returns a stream, of items of the member's result type, which are read as they come. Each reading of the stream is a call of its own, cancelled by either token, or by stopping it.
|
Full Usage:
this.Task
Parameters:
obj array
cancellationToken : CancellationToken
Returns: Task<'T>
Type parameters: 'T |
Calls a member that returns a Task of a value, cancelled by the token.
|
|
|
Full Usage:
this.UnitTask
Parameters:
obj array
cancellationToken : CancellationToken
Returns: Task
|
Calls a member that returns a Task without a value, cancelled by the token.
|
|
|
Full Usage:
this.ValueTask
Parameters:
obj array
cancellationToken : CancellationToken
Returns: ValueTask<'T>
Type parameters: 'T |
Calls a member that returns a ValueTask of a value, cancelled by the token.
|
Orsak