TDConnection Object : SetBasicAuthHeaderMode Method |
Visual Basic |
---|
Public Sub SetBasicAuthHeaderMode( _ ByVal HeaderMode As tagTDAPI_BASIC_AUTH_HEADER_MODES _ ) |
Value | Description |
---|---|
HEADER_MODE_ALWAYS | Value = 2 Basic Auth Header is added at each request. Rarely necessary. Use HEADER_MODE_ONCE. |
HEADER_MODE_DO_NOT_ADD | Default. Value = 0 Basic Auth Header is not added. |
HEADER_MODE_ONCE | Value = 1 Basic Auth Header is added at first request.
|