SseServerTransport

constructor(endpoint: String, session: ServerSSESession, maxRequestBodySize: Long = DEFAULT_MAX_REQUEST_BODY_SIZE)(source)

Parameters

endpoint

relative or absolute URL the client will POST messages to

session

active SSE session used to deliver server-to-client events

maxRequestBodySize

maximum allowed size, in bytes, of an incoming POST body; larger requests are rejected with 413 Payload Too Large without being buffered in full. Defaults to 4 MiB.