# Class type Http_client.auth_handler

    class type auth_handler = object .. end

An authentication handler has the capability of adding the necessary headers to messages.

    method create_session : http_call ->
           http_options Pervasives.ref -> auth_session option

Create a new authentication session. The passed call has status 401.

    method create_proxy_session : http_call ->
           http_options Pervasives.ref -> auth_session option

Same for proxy authentication