|
| MicroserviceRequester (IMicroserviceArgs env, RequestContext requestContext, SocketRequesterContext socketContext) |
|
async Task | Authenticate () |
|
Promise< Unit > | Acknowledge (RequestContext ctx, WebsocketErrorResponse error=null) |
| Acknowledge a message from the websocket. More...
|
|
Promise< T > | Request< T > (Method method, string uri, object body=null, bool includeAuthHeader=true, Func< string, T > parser=null, bool useCache=false) |
|
Promise< EmptyResponse > | InitializeSubscription () |
| Each socket only needs to set up one subscription to the server. All events will get piped to the client. It's the client job to filter the events, and decide what is valuable. More...
|
|
IBeamableRequester | WithAccessToken (TokenResponse tokenResponse) |
|
string | EscapeURL (string url) |
|
◆ Acknowledge()
Acknowledge a message from the websocket.
- Parameters
-
ctx | The request you wish to ack |
error | an error, or null for a 200 ack. |
- Returns
◆ InitializeSubscription()
Each socket only needs to set up one subscription to the server. All events will get piped to the client. It's the client job to filter the events, and decide what is valuable.
- Returns
The documentation for this class was generated from the following file:
- microservice/microservice/dbmicroservice/MicroserviceRequester.cs