T3.HTTP.Guest (T3 v0.3.0)

Copy Markdown View Source

Guest-share routes. Supply query: %{"share" => share_id} and the appropriate guest Cookie header explicitly; a normal MCP bearer is not a guest session. redeem/2 returns Set-Cookie headers for the caller to retain securely. messages/2 accepts JSON or multipart: T3.HTTP.multipart(fields, files).

Summary

Functions

Call the guest attachment endpoint with explicit query, cookie and body options.

Consume a guest command output item as SSE events.

Call the guest history endpoint with explicit query, cookie and body options.

Call the guest item endpoint with explicit query, cookie and body options.

Call the guest media endpoint with explicit query, cookie and body options.

Call the guest messages endpoint with explicit query, cookie and body options.

Call the guest redeem endpoint with explicit query, cookie and body options.

Call the guest render endpoint with explicit query, cookie and body options.

Call the guest session endpoint with explicit query, cookie and body options.

Consume guest updates as SSE events with bounded streaming.

Functions

attachment(client, opts \\ [])

Call the guest attachment endpoint with explicit query, cookie and body options.

command_output(client, callback, opts \\ [])

Consume a guest command output item as SSE events.

history(client, opts \\ [])

Call the guest history endpoint with explicit query, cookie and body options.

item(client, opts \\ [])

Call the guest item endpoint with explicit query, cookie and body options.

media(client, opts \\ [])

Call the guest media endpoint with explicit query, cookie and body options.

messages(client, opts \\ [])

Call the guest messages endpoint with explicit query, cookie and body options.

redeem(client, opts \\ [])

Call the guest redeem endpoint with explicit query, cookie and body options.

render(client, opts \\ [])

Call the guest render endpoint with explicit query, cookie and body options.

session(client, opts \\ [])

Call the guest session endpoint with explicit query, cookie and body options.

stream(client, callback, opts \\ [])

Consume guest updates as SSE events with bounded streaming.