getSession

Gets a session.

package
static if(isWeb)
getSession

Parameters

client HttpClient

The client

createSessionIfInvalid bool

Boolean determining whether a new session should be created if the session is invalid.

Return Value

Returns the session.

Meta