Skip to content

talkcontrol


talkcontrol / common/services/session / withSessionId

Function: withSessionId()

withSessionId(url, sessionId): string

Defined in: src/common/services/session.ts:40

Append (or replace) the session query param on a url

Parameters

url

string

absolute or relative url

sessionId

string

session id to carry

Returns

string

url with the session param, same relative/absolute form as the input