BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJSIP Reference

#include <siptypes.hpp>

Public Member Functions

void fromPj (const pjsip_multipart_part &prm) throw (Error)
 
pjsip_multipart_parttoPj () const
 

Data Fields

SipHeaderVector headers
 
SipMediaType contentType
 
string body
 

Detailed Description

This describes each multipart part.

Member Function Documentation

◆ fromPj()

void pj::SipMultipartPart::fromPj ( const pjsip_multipart_part prm)
throw (Error
)

Initiaize from PJSIP's pjsip_multipart_part.

◆ toPj()

pjsip_multipart_part & pj::SipMultipartPart::toPj ( ) const

Convert to PJSIP's pjsip_multipart_part.

Field Documentation

◆ headers

SipHeaderVector pj::SipMultipartPart::headers

Optional headers to be put in this multipart part.

◆ contentType

SipMediaType pj::SipMultipartPart::contentType

The MIME type of the body part of this multipart part.

◆ body

string pj::SipMultipartPart::body

The body part of tthis multipart part.


The documentation for this struct was generated from the following file:
  • siptypes.hpp

 


PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
Copyright (C) 2006-2008 Teluu Inc.