Home > sip.js > SessionDescriptionHandler > hasDescription
Returns true if the Session Description Handler can handle the Content-Type described by a SIP message.
Signature:
hasDescription(contentType: string): boolean;
Parameter | Type | Description |
---|---|---|
contentType | string | The content type that is in the SIP Message. |
Returns:
boolean
True if the content type is handled by this session description handler. False otherwise.