CallsAsyncClientStreamingCallTRequest, TResponse Method |
Invokes a client streaming call asynchronously.
In client streaming scenario, client sends a stream of requests and server responds with a single response.
Namespace: Grpc.CoreAssembly: Grpc.Core (in Grpc.Core.dll) Version: 0.7.0.0
Syntaxpublic static AsyncClientStreamingCall<TRequest, TResponse> AsyncClientStreamingCall<TRequest, TResponse>(
CallInvocationDetails<TRequest, TResponse> call
)
where TRequest : class
where TResponse : class
Public Shared Function AsyncClientStreamingCall(Of TRequest As Class, TResponse As Class) (
call As CallInvocationDetails(Of TRequest, TResponse)
) As AsyncClientStreamingCall(Of TRequest, TResponse)
public:
generic<typename TRequest, typename TResponse>
where TRequest : ref class
where TResponse : ref class
static AsyncClientStreamingCall<TRequest, TResponse>^ AsyncClientStreamingCall(
CallInvocationDetails<TRequest, TResponse> call
)
static member AsyncClientStreamingCall :
call : CallInvocationDetails<'TRequest, 'TResponse> -> AsyncClientStreamingCall<'TRequest, 'TResponse> when 'TRequest : not struct when 'TResponse : not struct
Parameters
- call
- Type: Grpc.CoreCallInvocationDetailsTRequest, TResponse
The call defintion.
Type Parameters
- TRequest
- Type of request messages.
- TResponse
- The of response message.
Return Value
Type:
AsyncClientStreamingCallTRequest,
TResponseAn awaitable call object providing access to the response.
See Also