Expand description
§parsip
A push library for parsing SIP requests and responses.
Structs§
- Header
- Represents a parsed header.
- Request
- A parsed Request.
- Response
- A parsed Response.
- SipVersion
- SIP-Version
ex.
SIP/2.0 -> SipVersion(2, 0)
Enums§
- Error
- An error in parsing. TODO: for now this is unused; use this custom error type
- Error
Kind - A Result of any parsing action.
- IResult
- A Result of any parsing action.
- Needed
- A Result of any parsing action.
Constants§
- EMPTY_
HEADER - An empty header, useful for constructing a
Header
array to pass in for parsing.
Functions§
- parse_
headers - Parse a buffer of bytes as headers.
Type Aliases§
- Err
- A Result of any parsing action.