ConversationRequestSession class

Placeholder class for the Conversation Request Session. Based off RequestSession. TODO: define what telemetry is required.

Constructors

ConversationRequestSession(string)

Properties

completionPromise
onAuthCompleted
onConnectionEstablishCompleted
onPreConnectionStart
onServiceTurnEndResponse
requestId
sessionId

Methods

dispose(string)

Constructor Details

ConversationRequestSession(string)

new ConversationRequestSession(sessionId: string)

Parameters

sessionId

string

Property Details

completionPromise

Promise<void> completionPromise

Property Value

Promise<void>

onAuthCompleted

onAuthCompleted: (isError: boolean, error?: string) => void

Property Value

(isError: boolean, error?: string) => void

onConnectionEstablishCompleted

onConnectionEstablishCompleted: (statusCode: number, reason?: string) => void

Property Value

(statusCode: number, reason?: string) => void

onPreConnectionStart

onPreConnectionStart: (authFetchEventId: string, connectionId: string) => void

Property Value

(authFetchEventId: string, connectionId: string) => void

onServiceTurnEndResponse

onServiceTurnEndResponse: (continuousRecognition: boolean) => void

Property Value

(continuousRecognition: boolean) => void

requestId

string requestId

Property Value

string

sessionId

string sessionId

Property Value

string

Method Details

dispose(string)

function dispose(error?: string)

Parameters

error

string

Returns

Promise<void>