GrpcProtocol

sealed class GrpcProtocol<Self : GrpcProtocol<Self, Wrapped>, Wrapped : GrpcProtocol> : ProtocolBuilder

Functions

Link copied to clipboard
fun forceParsing(): Self
Link copied to clipboard
fun <T : Any> header(key: Metadata.Key<T>, value: T): Self
fun <T : Any> header(    key: Metadata.Key<T>,     optional: Boolean = false,     value: Function<Session, T?>): Self
inline fun <T : Any> header(    key: Metadata.Key<T>,     optional: Boolean = false,     crossinline value: (Session) -> T?): Self
inline fun <T : Message, Builder : Message.Builder> header(    key: Metadata.Key<T>,     optional: Boolean = false,     crossinline newBuilder: () -> Builder,     crossinline f: Builder.(Session) -> T?): Self
Link copied to clipboard
inline fun <T : Any> headerEL(    key: Metadata.Key<T>,     el: String,     optional: Boolean = false): Self

fun <T : Any> headerEL(    key: Metadata.Key<T>,     el: String,     optional: Boolean,     clazz: Class<T>): Self

Java API. You have to provide the class of what type the el should evaluate to.

Link copied to clipboard
abstract override fun protocol(): Wrapped

Inheritors

Link copied to clipboard
Link copied to clipboard