WebPubSubsImpl.connectionExistsWithResponse(String hub, String connectionId, Context context) Method

Definition

Check if the connection with the given connectionId exists.

public Response<Boolean> connectionExistsWithResponse(String hub, String connectionId, Context context)

Parameters

hub
java.lang.String

Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore.

connectionId
java.lang.String

The connection Id.

context
Context

The context to associate with this operation.

Returns

Response<java.lang.Boolean>

the response.

Applies to