Crate parsip [] [src]

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

ErrorKind

indicates which parser returned an error

IResult

Holds the result of parsing functions

Needed

Contains information on needed data if a parser returned Incomplete

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 Definitions

Err