WebPubSubAsyncServiceClient.sendToConnectionWithResponse Method

Definition

Overloads

sendToConnectionWithResponse(String connectionId, byte[] message, WebPubSubContentType contentType)

Send a binary message to a specific connection

sendToConnectionWithResponse(String connectionId, String message, WebPubSubContentType contentType)

Send a message to a specific connection

sendToConnectionWithResponse(String connectionId, byte[] message, WebPubSubContentType contentType)

Send a binary message to a specific connection

public Mono<Response<Void>> sendToConnectionWithResponse(String connectionId, byte[] message, WebPubSubContentType contentType)

Parameters

connectionId
java.lang.String

Connection ID to send to.

message
byte[]

The binary message to send.

contentType
WebPubSubContentType

The content type of the message.

Returns

reactor.core.publisher.Mono<Response<java.lang.Void>>

A Mono containing a Response<T> with a null value, but status code and response headers representing the response from the service.

sendToConnectionWithResponse(String connectionId, String message, WebPubSubContentType contentType)

Send a message to a specific connection

public Mono<Response<Void>> sendToConnectionWithResponse(String connectionId, String message, WebPubSubContentType contentType)

Parameters

connectionId
java.lang.String

Connection ID to send to.

message
java.lang.String

The message to send.

contentType
WebPubSubContentType

The content type of the message.

Returns

reactor.core.publisher.Mono<Response<java.lang.Void>>

A Mono containing a Response<T> with a null value, but status code and response headers representing the response from the service.

Applies to