Skip to main content

Module sip

Module sip 

Source
Expand description

Level 3: SIP message parsing, multipart MIME, and JSON body handling.

Structs§

ParsedMessageIterator
Level 3 streaming parser: wraps MessageIterator and parses each reassembled message into a ParsedSipMessage.

Functions§

is_json_content_type
Returns true for application/json and any application/*+json subtype. Case-insensitive; media type parameters are ignored.
parse_sipfrag
Parse a message/sipfrag body (RFC 3420) — any prefix of a SIP message.