Options for the HttpClient
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
timeout |
number
|
<optional> |
The http request timeout in milliseconds. |
cookieName |
string
|
The name of the session cookie set from the SDK. | |
cookieDomain |
string
|
<optional> |
The domain where cookie set from the SDK is available. Defaults to the domain of the page where the cookie was created. |
lang |
string
|
<nullable> |
The language used by the client(s) to convey to the Hanko API the language to use - e.g. for translating outgoing emails - in a custom header (X-Language). |