public static interface HttpClient.WebsocketSender extends HttpClient.WebsocketReceiver<HttpClient.WebsocketSender>
Publisher
based, HttpClient.WebsocketReceiver
API.Modifier and Type | Method and Description |
---|---|
HttpClient.WebsocketReceiver<?> |
send(Function<? super HttpClientRequest,? extends Publisher<Void>> sender)
Configure headers to send on request using the returned
Publisher to
signal end of the request. |
connect, handle, receive
uri, uri, uri
HttpClient.WebsocketReceiver<?> send(Function<? super HttpClientRequest,? extends Publisher<Void>> sender)
Publisher
to
signal end of the request.sender
- a bifunction given the outgoing request returns a publisher
that will terminate the request body on completeHttpClient.ResponseReceiver