Module Values.PostToConnectionRequestSource

Sends the provided data to the specified connection.

Sourcetype nonrec t = {
  1. data : Data.t;
    (*

    The data to be sent to the client specified by its connection id.

    *)
  2. connectionId : string;
    (*

    The identifier of the connection that a specific client is using.

    *)
}
Sourceval context_ : string
Sourceval make : data:Data.t -> connectionId:string -> unit -> t
Sourceval of_header_and_body : ((string, string) Awso.Import.List.Assoc.t * Data.t) -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Blob of Data.t | `String of string ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t