[][src]Crate sipcore

Modules

common
generic_params
sipuri
traits

Macros

sip_parse_error

Structs

GenericParams
SipAscii

Case Insensitive wrapper of Ascii strings.

SipHeader

rfc3261 section-7.3

SipHeaders
SipRequest

rfc3261 section-7.1

SipRequestLine

Ex: INVITE sip:user@example.com SIP/2.0 The Request line and u8 buffer shoud have the same life time

SipResponse
SipResponseStatusLine

Ex: SIP/2.0 401 Unauthorized

SipUri

Its general form, in the case of a SIP URI, is: sip:user:password@host:port;uri-parameters?headers

SipVersion

SIP-Version ex. SIP/2.0 -> SipVersion(2, 0)

Enums

SipHeaderTagType
SipHeaderValueType
SipMessageType
SipMethod
SipRFCHeader

Headers that defined in rfc3261

SipRequestUriScheme
SipResponseStatusCode

Traits

NomParser

Functions

get_sip_message_type

Fast determinates message type and minimal validate for further transmission to suitable parser. Does not validate full first line, just first 3 bytes.