MCPcopy Create free account
hub / github.com/aws/smithy-go / HTTPStatusCode

Method HTTPStatusCode

transport/http/response.go:22–22  ·  view source on GitHub ↗

HTTPStatusCode returns the HTTP response status code received from the service.

()

Source from the content-addressed store, hash-verified

20
21// HTTPStatusCode returns the HTTP response status code received from the service.
22func (e *ResponseError) HTTPStatusCode() int { return e.Response.StatusCode }
23
24// HTTPResponse returns the HTTP response received from the service.
25func (e *ResponseError) HTTPResponse() *Response { return e.Response }

Callers 1

ExampleResponseErrorFunction · 0.95

Calls

no outgoing calls

Tested by 1

ExampleResponseErrorFunction · 0.76