of

open fun <T, R> of(method: String, handlerType: HandlerType, requestSerde: Serde<T>, responseSerde: Serde<R>): HandlerSpecification<T, R>