MessageFactoryGenerateRequest Method (Method, AddrSpec, String, String, Int32, SIPAddress, String, SIPAddress, SIPAddress, TransportInfo, String) |
Namespace: Ozeki.VoIPAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public Request GenerateRequest(
Method method,
AddrSpec requestURI,
string callId,
string branch,
int cseq,
SIPAddress from,
string fromTag,
SIPAddress to,
SIPAddress contact,
TransportInfo transportInfo,
string toTag = null
)
Public Function GenerateRequest (
method As Method,
requestURI As AddrSpec,
callId As String,
branch As String,
cseq As Integer,
from As SIPAddress,
fromTag As String,
to As SIPAddress,
contact As SIPAddress,
transportInfo As TransportInfo,
Optional toTag As String = Nothing
) As Request
public:
Request^ GenerateRequest(
Method^ method,
AddrSpec^ requestURI,
String^ callId,
String^ branch,
int cseq,
SIPAddress^ from,
String^ fromTag,
SIPAddress^ to,
SIPAddress^ contact,
TransportInfo^ transportInfo,
String^ toTag = nullptr
)
member GenerateRequest :
method : Method *
requestURI : AddrSpec *
callId : string *
branch : string *
cseq : int *
from : SIPAddress *
fromTag : string *
to : SIPAddress *
contact : SIPAddress *
transportInfo : TransportInfo *
?toTag : string
(* Defaults:
let _toTag = defaultArg toTag null
*)
-> Request
Parameters
- method
- Type: Ozeki.VoIPMethod
- requestURI
- Type: Ozeki.VoIPAddrSpec
- callId
- Type: SystemString
- branch
- Type: SystemString
- cseq
- Type: SystemInt32
- from
- Type: Ozeki.VoIPSIPAddress
- fromTag
- Type: SystemString
- to
- Type: Ozeki.VoIPSIPAddress
- contact
- Type: Ozeki.VoIPSIPAddress
- transportInfo
- Type: Ozeki.NetworkTransportInfo
- toTag (Optional)
- Type: SystemString
Return Value
Type:
RequestSee Also