Request (MSPL)

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

Syntax

  Copy codeCopy code
class Request {
string Method;
StandardMethod StandardMethod;
string RequestURI;
}

Inheritance

This object inherits from Message (MSPL) .

Fields

The Requestclass 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 can also contain a custom method type.

StandardMethod

Data type: StandardMethod

Contains the request method type as a StandardMethodconstant. 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.

See also