WebPubSubServiceClient Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The WebPubSubService service client.
public class WebPubSubServiceClient
type WebPubSubServiceClient = class
Public Class WebPubSubServiceClient
- Inheritance
-
WebPubSubServiceClient
Constructors
WebPubSubServiceClient() |
Initializes a new instance of WebPubSubServiceClient for mocking. |
WebPubSubServiceClient(String, String, WebPubSubServiceClientOptions) |
Initializes a new instance of the WebPubSubServiceClient. |
WebPubSubServiceClient(String, String) |
Initializes a new instance of the WebPubSubServiceClient. |
WebPubSubServiceClient(Uri, String, AzureKeyCredential, WebPubSubServiceClientOptions) |
Initializes a new instance of WebPubSubServiceClient. |
WebPubSubServiceClient(Uri, String, AzureKeyCredential) |
Initializes a new instance of WebPubSubServiceClient. |
WebPubSubServiceClient(Uri, String, TokenCredential, WebPubSubServiceClientOptions) |
Initializes a new instance of WebPubSubServiceClient. |
WebPubSubServiceClient(Uri, String, TokenCredential) |
Initializes a new instance of WebPubSubServiceClient. |
Properties
Endpoint |
The service endpoint. |
Hub |
The hub. |
Pipeline |
The HTTP pipeline for sending and receiving REST requests and responses. |
Methods
AddConnectionsToGroups(IEnumerable<String>, String, RequestContext) |
Add filtered connections to multiple groups. |
AddConnectionsToGroupsAsync(IEnumerable<String>, String, RequestContext) |
Add filtered connections to multiple groups. |
AddConnectionToGroup(String, String, RequestContext) |
[Protocol Method] Add a connection to the target group.
|
AddConnectionToGroupAsync(String, String, RequestContext) |
[Protocol Method] Add a connection to the target group.
|
AddUserToGroup(String, String, RequestContext) |
Add a user to the target group. |
AddUserToGroupAsync(String, String, RequestContext) |
Add a user to the target group. |
CheckPermission(WebPubSubPermission, String, String, RequestContext) |
Check if a connection has permission to the specified action. |
CheckPermissionAsync(WebPubSubPermission, String, String, RequestContext) |
Check if a connection has permission to the specified action. |
CloseAllConnections(IEnumerable<String>, String, RequestContext) |
[Protocol Method] Close the connections in the hub.
|
CloseAllConnectionsAsync(IEnumerable<String>, String, RequestContext) |
[Protocol Method] Close the connections in the hub.
|
CloseConnection(String, String, RequestContext) |
[Protocol Method] Close the client connection.
|
CloseConnectionAsync(String, String, RequestContext) |
[Protocol Method] Close the client connection.
|
CloseGroupConnections(String, IEnumerable<String>, String, RequestContext) |
[Protocol Method] Close connections in the specific group.
|
CloseGroupConnectionsAsync(String, IEnumerable<String>, String, RequestContext) |
[Protocol Method] Close connections in the specific group.
|
CloseUserConnections(String, IEnumerable<String>, String, RequestContext) |
[Protocol Method] Close connections for the specific user.
|
CloseUserConnectionsAsync(String, IEnumerable<String>, String, RequestContext) |
[Protocol Method] Close connections for the specific user.
|
ConnectionExists(String, RequestContext) |
Check if the connection with the given connectionId exists. |
ConnectionExistsAsync(String, RequestContext) |
Check if the connection with the given connectionId exists. |
GetClientAccessUri(DateTimeOffset, String, IEnumerable<String>, IEnumerable<String>, WebPubSubClientProtocol, CancellationToken) |
Creates a URI with authentication token for the clients. |
GetClientAccessUri(TimeSpan, String, IEnumerable<String>, IEnumerable<String>, WebPubSubClientProtocol, CancellationToken) |
Creates a URI with authentication token for the clients. |
GetClientAccessUriAsync(DateTimeOffset, String, IEnumerable<String>, IEnumerable<String>, WebPubSubClientProtocol, CancellationToken) |
Creates a URI with authentication token for the clients.. |
GetClientAccessUriAsync(TimeSpan, String, IEnumerable<String>, IEnumerable<String>, WebPubSubClientProtocol, CancellationToken) |
Creates a URI with authentication token for the clients. |
GrantPermission(WebPubSubPermission, String, String, RequestContext) |
Grant permission to the connection. |
GrantPermissionAsync(WebPubSubPermission, String, String, RequestContext) |
Grant permission to the connection. |
GroupExists(String, RequestContext) |
Check if there are any client connections inside the given group. |
GroupExistsAsync(String, RequestContext) |
Check if there are any client connections inside the given group. |
RemoveConnectionFromAllGroups(String, RequestContext) |
[Protocol Method] Remove a connection from all groups.
|
RemoveConnectionFromAllGroupsAsync(String, RequestContext) |
[Protocol Method] Remove a connection from all groups.
|
RemoveConnectionFromGroup(String, String, RequestContext) |
[Protocol Method] Remove a connection from the target group.
|
RemoveConnectionFromGroupAsync(String, String, RequestContext) |
[Protocol Method] Remove a connection from the target group.
|
RemoveConnectionsFromGroups(IEnumerable<String>, String, RequestContext) |
Remove filtered connections from multiple groups. |
RemoveConnectionsFromGroupsAsync(IEnumerable<String>, String, RequestContext) |
Remove filtered connections from multiple groups. |
RemoveUserFromAllGroups(String, RequestContext) |
[Protocol Method] Remove a user from all groups.
|
RemoveUserFromAllGroupsAsync(String, RequestContext) |
[Protocol Method] Remove a user from all groups.
|
RemoveUserFromGroup(String, String, RequestContext) |
Remove a user from the target group. |
RemoveUserFromGroupAsync(String, String, RequestContext) |
Remove a user from the target group. |
RevokePermission(WebPubSubPermission, String, String, RequestContext) |
Revoke permission for the connection. |
RevokePermissionAsync(WebPubSubPermission, String, String, RequestContext) |
Revoke permission for the connection. |
SendToAll(RequestContent, ContentType, IEnumerable<String>, RequestContext) |
Broadcast content inside request body to all the connected client connections. |
SendToAll(RequestContent, ContentType, IEnumerable<String>, String, RequestContext) |
[Protocol Method] Broadcast content inside request body to all the connected client connections.
|
SendToAll(String, ContentType) |
Broadcast message to all the connected client connections. |
SendToAllAsync(RequestContent, ContentType, IEnumerable<String>, RequestContext) |
Broadcast content inside request body to all the connected client connections. |
SendToAllAsync(RequestContent, ContentType, IEnumerable<String>, String, RequestContext) |
[Protocol Method] Broadcast content inside request body to all the connected client connections.
|
SendToAllAsync(String, ContentType) |
Broadcast message to all the connected client connections. |
SendToConnection(String, RequestContent, ContentType, RequestContext) |
[Protocol Method] Send content inside request body to the specific connection.
|
SendToConnection(String, String, ContentType) |
Send message to the specific connection. |
SendToConnectionAsync(String, RequestContent, ContentType, RequestContext) |
[Protocol Method] Send content inside request body to the specific connection.
|
SendToConnectionAsync(String, String, ContentType) |
Send message to the specific connection. |
SendToGroup(String, RequestContent, ContentType, IEnumerable<String>, RequestContext) |
Send content inside request body to a group of connections. |
SendToGroup(String, RequestContent, ContentType, IEnumerable<String>, String, RequestContext) |
[Protocol Method] Send content inside request body to a group of connections.
|
SendToGroup(String, String, ContentType) |
Send message to a group of connections. |
SendToGroupAsync(String, RequestContent, ContentType, IEnumerable<String>, RequestContext) |
Send content inside request body to a group of connections. |
SendToGroupAsync(String, RequestContent, ContentType, IEnumerable<String>, String, RequestContext) |
[Protocol Method] Send content inside request body to a group of connections.
|
SendToGroupAsync(String, String, ContentType) |
Send message to a group of connections. |
SendToUser(String, RequestContent, ContentType, RequestContext) |
Send content inside request body to the specific user. |
SendToUser(String, RequestContent, ContentType, String, RequestContext) |
[Protocol Method] Send content inside request body to the specific user.
|
SendToUser(String, String, ContentType) |
Send message to the specific user. |
SendToUserAsync(String, RequestContent, ContentType, RequestContext) |
Send content inside request body to the specific user. |
SendToUserAsync(String, RequestContent, ContentType, String, RequestContext) |
[Protocol Method] Send content inside request body to the specific user.
|
SendToUserAsync(String, String, ContentType) |
Send message to the specific user. |
UserExists(String, RequestContext) |
Check if there are any client connections connected for the given user. |
UserExistsAsync(String, RequestContext) |
Check if there are any client connections connected for the given user. |