Documentation ¶
Index ¶
- type DefaultHttpResponse
- func (r *DefaultHttpResponse) GetBody() string
- func (r *DefaultHttpResponse) GetBodyAsBytes() ([]byte, error)
- func (r *DefaultHttpResponse) GetBodyAsString() (string, error)
- func (r *DefaultHttpResponse) GetHeader(key string) string
- func (r *DefaultHttpResponse) GetHeaders() map[string]string
- func (r *DefaultHttpResponse) GetStatusCode() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultHttpResponse ¶
func NewDefaultHttpResponse ¶
func NewDefaultHttpResponse(response *http.Response) *DefaultHttpResponse
func (*DefaultHttpResponse) GetBody ¶
func (r *DefaultHttpResponse) GetBody() string
func (*DefaultHttpResponse) GetBodyAsBytes ¶ added in v0.1.106
func (r *DefaultHttpResponse) GetBodyAsBytes() ([]byte, error)
func (*DefaultHttpResponse) GetBodyAsString ¶ added in v0.1.106
func (r *DefaultHttpResponse) GetBodyAsString() (string, error)
func (*DefaultHttpResponse) GetHeader ¶
func (r *DefaultHttpResponse) GetHeader(key string) string
func (*DefaultHttpResponse) GetHeaders ¶
func (r *DefaultHttpResponse) GetHeaders() map[string]string
func (*DefaultHttpResponse) GetStatusCode ¶
func (r *DefaultHttpResponse) GetStatusCode() int
Click to show internal directories.
Click to hide internal directories.