new RequesterBuilder()
A builder for the outbound methods of an interceptor.
Methods
-
build()
-
Builds the requester's interceptor methods.
Returns:
- Type
- grpc~Requester
-
withCancel(cancel)
-
Add a cancel requester to the builder.
Parameters:
Name Type Description cancel
CancelRequester A requester method for handling
cancel
Returns:
- Type
- RequesterBuilder
-
withHalfClose(half_close)
-
Add a close requester to the builder.
Parameters:
Name Type Description half_close
CloseRequester A requester method for handling client close.
Returns:
- Type
- RequesterBuilder
-
withSendMessage(send_message)
-
Add a message requester to the builder.
Parameters:
Name Type Description send_message
MessageRequester A requester method for handling messages.
Returns:
- Type
- RequesterBuilder
-
withStart(start)
-
Add a metadata requester to the builder.
Parameters:
Name Type Description start
MetadataRequester A requester method for handling metadata.
Returns:
- Type
- RequesterBuilder