WireMethodMarshaller

interface WireMethodMarshaller<T> : MethodDescriptor.Marshaller<T>

Interface for generated method marshallers used in Google style grpc stubs.

Adds a method for fetching the underlying class at run time to support generating other marshallers (like JSON encoding) from an instance of this class.

Functions

Link copied to clipboard
abstract fun marshalledClass(): Class<T>
Link copied to clipboard
abstract fun parse(p0: InputStream): T
Link copied to clipboard
abstract fun stream(p0: T): InputStream