Microsoft.Bot.Builder.Calling.CallingContext Class Reference

The context for this request. It is reponsible in parsing the calling request before calling into ICallingBotService. More...

Public Member Functions

 CallingContext (HttpRequestMessage request)
 Creates a new instance of calling context. More...
 
virtual async Task< ParsedCallingRequestProcessRequest (CallRequestType callType)
 Process the calling request and returns ParsedCallingRequest. More...
 

Public Attributes

readonly HttpRequestMessage Request
 The calling request. More...
 

Protected Member Functions

virtual string ExtractSkypeChainId ()
 
virtual async Task< ParsedCallingRequestProcessCallingEventAsync ()
 
virtual async Task< ParsedCallingRequestProcessIncomingCallAsync ()
 

Detailed Description

The context for this request. It is reponsible in parsing the calling request before calling into ICallingBotService.

Definition at line 63 of file CallingContext.cs.

Constructor & Destructor Documentation

Microsoft.Bot.Builder.Calling.CallingContext.CallingContext ( HttpRequestMessage  request)
inline

Creates a new instance of calling context.

Parameters
requestThe calling request.

Definition at line 74 of file CallingContext.cs.

Member Function Documentation

virtual string Microsoft.Bot.Builder.Calling.CallingContext.ExtractSkypeChainId ( )
inlineprotectedvirtual

Definition at line 103 of file CallingContext.cs.

virtual async Task<ParsedCallingRequest> Microsoft.Bot.Builder.Calling.CallingContext.ProcessCallingEventAsync ( )
inlineprotectedvirtual

Definition at line 134 of file CallingContext.cs.

virtual async Task<ParsedCallingRequest> Microsoft.Bot.Builder.Calling.CallingContext.ProcessIncomingCallAsync ( )
inlineprotectedvirtual

Definition at line 114 of file CallingContext.cs.

virtual async Task<ParsedCallingRequest> Microsoft.Bot.Builder.Calling.CallingContext.ProcessRequest ( CallRequestType  callType)
inlinevirtual

Process the calling request and returns ParsedCallingRequest.

Parameters
callTypeThe type of calling request.
Returns
the parsed calling request.

Definition at line 84 of file CallingContext.cs.

Member Data Documentation

readonly HttpRequestMessage Microsoft.Bot.Builder.Calling.CallingContext.Request

The calling request.

Definition at line 68 of file CallingContext.cs.


The documentation for this class was generated from the following file: