Skip to main content

WebsocketMessageBody

A class in Alta.Api.DataTransferModels, Alta.Api.DataTransferModels.Models.Requests.

A message sent to the Alta API over its WebSocket: an HTTP-style request with method, path and JSON content.

Constructors​

MemberWhat it is
WebsocketMessageBody()Creates a WebsocketMessageBody with default values.

Properties​

MemberWhat it is
string Authorization { get; set; }Auth header value for this request, if any.
string Content { get; set; }The request body as a JSON string.
int Id { get; set; }Request id, probably matched by the reply's Id.
string Method { get; set; }HTTP method name for the request.
string Path { get; set; }API path the request is for.