![]() Returns a string that represents the current object. SendAsync(ReadOnlyMemory, WebSocketMessageType, WebSocketMessageFlags, CancellationToken) Sends data over the WebSocket connection asynchronously. SendAsync(ReadOnlyMemory, WebSocketMessageType, Boolean, CancellationToken) Sends a single message fragment to a remote client. For instance, tomcat (which follows JSR 356) has limitation for sending & receiving data, binaryBufferSize and textBufferSize represent it. SendAsync(ArraySegment, WebSocketMessageType, Boolean, CancellationToken) A WebSocket server may have data size limit for sending and receiving data it doesn't matter whether it is text or binary. Receives data from the WebSocket connection asynchronously. Receives a single message fragment from a remote client. ReceiveAsync(ArraySegment, CancellationToken) Releases all resources used by an AspNetWebSocket object.ĭetermines whether the specified object is equal to the current object.Ĭreates a shallow copy of the current Object. ![]() If the server initiates the request to close the connection, the method returns without waiting for a response. Sends an asynchronous message to a client to close the connection. If the server initiates the request to close the connection, the method waits for the client to acknowledge the request before it returns.ĬloseOutputAsync(WebSocketCloseStatus, String, CancellationToken) Gets the name of an application-specific protocol that a remote client and a server can use to exchange data over an AspNetWebSocket connection.Ĭancels any pending I/O operations on the AspNetWebSocket object and sets the state of the object so that it cannot be used to start additional I/O operations.ĬloseAsync(WebSocketCloseStatus, String, CancellationToken) Gets a value that indicates the open or closed state of an AspNetWebSocket object. Gets a status message that explains why an AspNetWebSocket object was closed. Gets a status code that indicates why an AspNetWebSocket object was closed.
0 Comments
Leave a Reply. |