HttpReply


Object Hierarchy:

Object hierarchy for HttpReply

Description:

public class HttpReply : Connection

Server-side write target for one HTTP POST.

Subclasses Connection so OLLMrpc.Request.reply can call write. The RPC payload is still an OLLMrpc.Response (or Notification ); this type only holds the Soup.ServerMessage and encodes JSON or bin into it. First Notification opens NDJSON streaming; a final Response finishes the stream. Shared JIT tables come from session.

Example

var session = OLLMrpc.Transport.Session.take("");
var reply = new OLLMrpc.Transport.HttpReply(soup, msg, session);
request.connection = reply;
request.dispatch();


Namespace: OLLMrpc.Transport
Package: ollmchat

Content:

Properties:

Creation methods:

Methods:

Fields:

Inherited Members:

All known members inherited from class GLib.Object