tagTDAPI_BASIC_AUTH_HEADER_MODES Enumeration
Description
Force auth header modes.
Members
Member Value Description
HEADER_MODE_ALWAYS 2

Value = 2

Basic Auth Header is added at each request. Rarely necessary. Use HEADER_MODE_ONCE.

HEADER_MODE_DEFAULT 0 Default header mode is do not add header
HEADER_MODE_DO_NOT_ADD 0

Default. Value = 0

Basic Auth Header is not added.

HEADER_MODE_ONCE 1

Value = 1

Basic Auth Header is added at first request.