SetBasicAuthHeaderMode Method
Description
Set basic auth header mode
Syntax
Visual Basic
Public Sub SetBasicAuthHeaderMode( _
   ByVal HeaderMode As tagTDAPI_BASIC_AUTH_HEADER_MODES _
) 
Parameters
HeaderMode
Value Description
HEADER_MODE_ALWAYS

Value = 2

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

HEADER_MODE_DEFAULT Default header mode is do not add header
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.

 

See Also