If provided, will be used by VersionInterceptor
Function to be called on every response.
serialized protobuf response.
It's expected, that error might be sent as a regular response, so you could this function to detect. If a regular response is determined as an error, RequestService.request will error with that response.
deserialized proto message.
Function to be called on every request.
A message to be serialized into UnderlyingDataType
Generated using TypeDoc
Main configuration object. Describes serialization, deserialization
RequestType is supposed to be YourProtoRequestMessage.AsObject. ResponseType is supposed to be YourProtoResponseMessage.AsObject.