Package | Description |
---|---|
com.azure.messaging.webpubsub |
Package containing classes for creating clients to perform operations on the Azure Web Pub Sub Service.
|
com.azure.messaging.webpubsub.models |
Package containing model classes for use with the Azure Web Pub Sub Service.
|
Modifier and Type | Method and Description |
---|---|
Mono<Void> |
WebPubSubAsyncGroup.sendToAll(byte[] message,
WebPubSubContentType contentType)
Broadcast a binary message to all connections in this group, excluding any connection IDs provided in the
excludedConnectionIds var-args (keeping in mind that it is valid to provide no excluded connection IDs). |
void |
WebPubSubServiceClient.sendToAll(byte[] message,
WebPubSubContentType contentType)
Broadcast a binary message to all connections on this hub, excluding any connection IDs provided in the
excludedConnectionIds var-args (keeping in mind that it is valid to provide no excluded connection IDs). |
Mono<Void> |
WebPubSubAsyncServiceClient.sendToAll(byte[] message,
WebPubSubContentType contentType)
Broadcast a binary message to all connections on this hub.
|
void |
WebPubSubGroup.sendToAll(byte[] message,
WebPubSubContentType contentType)
Broadcast a binary message to all connections in this group.
|
Mono<Void> |
WebPubSubAsyncGroup.sendToAll(String message,
WebPubSubContentType contentType)
Broadcast a text message to all connections in this group, excluding any connection IDs provided in the
excludedConnectionIds var-args (keeping in mind that it is valid to provide no excluded connection IDs). |
void |
WebPubSubServiceClient.sendToAll(String message,
WebPubSubContentType contentType)
Broadcast a text message to all connections on this hub.
|
Mono<Void> |
WebPubSubAsyncServiceClient.sendToAll(String message,
WebPubSubContentType contentType)
Broadcast a text message to all connections on this hub.
|
void |
WebPubSubGroup.sendToAll(String message,
WebPubSubContentType contentType)
Broadcast a text message to all connections in this group.
|
Mono<com.azure.core.http.rest.Response<Void>> |
WebPubSubAsyncGroup.sendToAllWithResponse(byte[] message,
WebPubSubContentType contentType,
Iterable<String> excludedConnectionIds)
Broadcast a binary message to all connections in this group, excluding any connection IDs provided in the
excludedConnectionIds list. |
Mono<com.azure.core.http.rest.Response<Void>> |
WebPubSubAsyncServiceClient.sendToAllWithResponse(byte[] message,
WebPubSubContentType contentType,
Iterable<String> excludedConnectionIds)
Broadcast a binary message to all connections on this hub, excluding any connection IDs provided in the
excludedConnectionIds list. |
com.azure.core.http.rest.Response<Void> |
WebPubSubServiceClient.sendToAllWithResponse(byte[] message,
WebPubSubContentType contentType,
Iterable<String> excludedConnectionIds,
com.azure.core.util.Context context)
Broadcast a binary message to all connections on this hub, excluding any connection IDs provided in the
excludedConnectionIds list. |
com.azure.core.http.rest.Response<Void> |
WebPubSubGroup.sendToAllWithResponse(byte[] message,
WebPubSubContentType contentType,
Iterable<String> excludedConnectionIds,
com.azure.core.util.Context context)
Broadcast a binary message to all connections in this group, excluding any connection IDs provided in the
excludedConnectionIds list. |
Mono<com.azure.core.http.rest.Response<Void>> |
WebPubSubAsyncGroup.sendToAllWithResponse(String message,
WebPubSubContentType contentType,
Iterable<String> excludedConnectionIds)
Broadcast a text message to all connections in this group, excluding any connection IDs provided in the
excludedConnectionIds list. |
Mono<com.azure.core.http.rest.Response<Void>> |
WebPubSubAsyncServiceClient.sendToAllWithResponse(String message,
WebPubSubContentType contentType,
Iterable<String> excludedConnectionIds)
Broadcast a text message to all connections on this hub, excluding any connection IDs provided in the
excludedConnectionIds list. |
com.azure.core.http.rest.Response<Void> |
WebPubSubServiceClient.sendToAllWithResponse(String message,
WebPubSubContentType contentType,
Iterable<String> excludedConnectionIds,
com.azure.core.util.Context context)
Broadcast a text message to all connections on this hub, excluding any connection IDs provided in the
excludedConnectionIds list. |
com.azure.core.http.rest.Response<Void> |
WebPubSubGroup.sendToAllWithResponse(String message,
WebPubSubContentType contentType,
Iterable<String> excludedConnectionIds,
com.azure.core.util.Context context)
Broadcast a text message to all connections in this group, excluding any connection IDs provided in the
excludedConnectionIds list. |
void |
WebPubSubServiceClient.sendToConnection(String connectionId,
byte[] message,
WebPubSubContentType contentType)
Send a binary message to a specific connection
|
Mono<Void> |
WebPubSubAsyncServiceClient.sendToConnection(String connectionId,
byte[] message,
WebPubSubContentType contentType)
Send a binary message to a specific connection
|
void |
WebPubSubServiceClient.sendToConnection(String connectionId,
String message,
WebPubSubContentType contentType)
Send a message to a specific connection
|
Mono<Void> |
WebPubSubAsyncServiceClient.sendToConnection(String connectionId,
String message,
WebPubSubContentType contentType)
Send a message to a specific connection
|
Mono<com.azure.core.http.rest.Response<Void>> |
WebPubSubAsyncServiceClient.sendToConnectionWithResponse(String connectionId,
byte[] message,
WebPubSubContentType contentType)
Send a binary message to a specific connection
|
com.azure.core.http.rest.Response<Void> |
WebPubSubServiceClient.sendToConnectionWithResponse(String connectionId,
byte[] message,
WebPubSubContentType contentType,
com.azure.core.util.Context context)
Send a binary message to a specific connection
|
Mono<com.azure.core.http.rest.Response<Void>> |
WebPubSubAsyncServiceClient.sendToConnectionWithResponse(String connectionId,
String message,
WebPubSubContentType contentType)
Send a message to a specific connection
|
com.azure.core.http.rest.Response<Void> |
WebPubSubServiceClient.sendToConnectionWithResponse(String connectionId,
String message,
WebPubSubContentType contentType,
com.azure.core.util.Context context)
Send a message to a specific connection
|
void |
WebPubSubServiceClient.sendToUser(String userId,
byte[] message,
WebPubSubContentType contentType)
Send a binary message to a specific user.
|
Mono<Void> |
WebPubSubAsyncServiceClient.sendToUser(String userId,
byte[] message,
WebPubSubContentType contentType)
Send a binary message to a specific user.
|
void |
WebPubSubServiceClient.sendToUser(String userId,
String message,
WebPubSubContentType contentType)
Send a text message to a specific user.
|
Mono<Void> |
WebPubSubAsyncServiceClient.sendToUser(String userId,
String message,
WebPubSubContentType contentType)
Send a text message to a specific user.
|
Mono<com.azure.core.http.rest.Response<Void>> |
WebPubSubAsyncServiceClient.sendToUserWithResponse(String userId,
byte[] message,
WebPubSubContentType contentType)
Send a binary message to a specific user.
|
com.azure.core.http.rest.Response<Void> |
WebPubSubServiceClient.sendToUserWithResponse(String userId,
byte[] message,
WebPubSubContentType contentType,
com.azure.core.util.Context context)
Send a binary message to a specific user.
|
Mono<com.azure.core.http.rest.Response<Void>> |
WebPubSubAsyncServiceClient.sendToUserWithResponse(String userId,
String message,
WebPubSubContentType contentType)
Send a text message to a specific user.
|
com.azure.core.http.rest.Response<Void> |
WebPubSubServiceClient.sendToUserWithResponse(String userId,
String message,
WebPubSubContentType contentType,
com.azure.core.util.Context context)
Send a text message to a specific user.
|
Modifier and Type | Method and Description |
---|---|
static WebPubSubContentType |
WebPubSubContentType.fromString(String value)
Parses a serialized value to a ContentType instance.
|
static WebPubSubContentType |
WebPubSubContentType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebPubSubContentType[] |
WebPubSubContentType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.