httpBasicAuthHeader

Description

Creates an HttpHeader object to be used as Authorization header for a Basic authentication of a user.

Parameters

Return Type

HttpHeader

Example

HttpHeader authHeader = httpBasicAuthHeader("admin", "admin");

See also