Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DigestRequest ¶
type DigestRequest struct { Client *http.Client Body string Method string Password string Uri string Username string Header http.Header Auth *authorization Wa *wwwAuthenticate }
func NewDigestRequest ¶ added in v0.3.2
func NewDigestRequest(username, password, method, uri, body string, client *http.Client, header http.Header) DigestRequest
NewDigestRequest creates a new DigestRequest object
func (*DigestRequest) Execute ¶
func (dr *DigestRequest) Execute() (resp *http.Response, err error)
Execute initialise the request and get a response
func (*DigestRequest) UpdateRequest ¶
func (dr *DigestRequest) UpdateRequest(username, password, method, uri, body string, client *http.Client, header http.Header) *DigestRequest
UpdateRequest is called when you want to reuse an existing
DigestRequest connection with new request information
type DigestTransport ¶ added in v0.2.0
func NewDigestTransport ¶ added in v0.3.2
func NewDigestTransport(username, password string, client *http.Client) DigestTransport
NewDigestTransport creates a new DigestTransport object
Click to show internal directories.
Click to hide internal directories.