public sealed class BridgeRequest One Views protocol request and the identities its transport authenticated.
Remarks
The client and connection keys come from the transport, never from the message: the window trusts them to scope presentations, interactions and pushes. A reconnect is a new connection with a new connection key.
Constructors
BridgeRequest
public BridgeRequest(ReadOnlyMemory<byte> message, string clientKey, string connectionKey) Creates a request.
Parameters
messageThe request, one JSON object as UTF-8. It is valid until the handler's task completes.
clientKeyThe identity of the browser or process that sent the request.
connectionKeyThe identity of the connection that carried the request.
Exceptions
ArgumentExceptionclientKeyorconnectionKeyis empty.
Properties
ClientKey
public string ClientKey { get; } The trusted identity of the browser or process that sent the request.
ConnectionKey
public string ConnectionKey { get; } The trusted identity of the connection that carried the request.