Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DigestRequest ¶
type DigestRequest struct {
	Body     string
	Method   string
	Password string
	URI      string
	Username string
	Header   http.Header
	Auth     *authorization
	Wa       *wwwAuthenticate
	CertVal  bool
}
    func NewRequest ¶
func NewRequest(username, password, method, uri, body string) DigestRequest
NewRequest 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) *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 NewTransport ¶ added in v0.2.0
func NewTransport(username, password string) DigestTransport
NewTransport creates a new DigestTransport object
 Click to show internal directories. 
   Click to hide internal directories.