MCPcopy Create free account
hub / github.com/cloudflare/meet / constructor

Method constructor

app/utils/openai.server.ts:29–43  ·  view source on GitHub ↗
(
		sessionId: string,
		headers: any,
		endpoint: string,
		apiExtraParams?: string,
		meetingId?: string
	)

Source from the content-addressed store, hash-verified

27 endpoint: string
28 params: URLSearchParams
29 constructor(
30 sessionId: string,
31 headers: any,
32 endpoint: string,
33 apiExtraParams?: string,
34 meetingId?: string
35 ) {
36 this.sessionId = sessionId
37 this.headers = headers
38 this.endpoint = endpoint
39 this.params = new URLSearchParams(apiExtraParams)
40 if (meetingId) {
41 this.params.set('correlationId', meetingId)
42 }
43 }
44 async NewTracks(body: any): Promise<NewTracksResponse> {
45 const newTracksURL = new URL(
46 `${this.endpoint}/sessions/${this.sessionId}/tracks/new?${this.params.toString()}`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected