request

fun <S : Req, D : Rsp> request(method: ChannelMethod, request: S, toResponse: (Map<String, Any?>) -> D): CompletableDeferred<D>