Request (MSPL)

The Request built-in class defines a SIP request, and includes the method type as well as the request URI.

Syntax

  Copy imageCopy Code
class Request {
string Method;
StandardMethod StandardMethod;
string RequestURI;
}

Inheritance

This object inherits from Message (MSPL).

Fields

The Request class defines the following fields.

Field

Description

Method

Data type: string

Contains the request method type as a Unicode string; for example, "INVITE" or "REGISTER". This field may also contain a custom method type.

StandardMethod

Data type: StandardMethod

Contains the request method type as a StandardMethod constant. If the method type is nonstandard (for example, a custom method type), this field will contain StandardMethod.NonStandard.

RequestUri

Data type: string

Contains the request URI header value as a Unicode string. This header can be parsed for parameter values using the GetUriParameter function.