Skip to main content

Module send

Module send 

Source
Expand description

HTTP/JSON transport every Microsoft Graph coroutine delegates to: builds the authorized request and parses the JSON response, or the Graph error envelope on failure.

Microsoft Graph reference: https://learn.microsoft.com/en-us/graph/api/overview.

Structs§

MsgraphNoResponse
Marker for endpoints that return an empty body (DELETE, sendMail, send draft); deserialises from anything, including nothing.
MsgraphSend
I/O-free coroutine sending one authorized Microsoft Graph request and parsing its JSON response into T.
MsgraphSendOutput
Terminal value of every coroutine: the parsed response plus the connection reuse hint.

Enums§

MsgraphSendError
Error returned by MsgraphSend and the raw $value coroutines.

Constants§

MSGRAPH_API_BASE
Base URL of the Microsoft Graph API, version 1.0.

Functions§

parse_api_error
Parse a Microsoft Graph error envelope into its (http_status, code, message) triple.
user_path
Base path segment addressing a mailbox owner: me as-is, any other value as users/{id}.