MCPcopy Create free account
hub / github.com/kataras/iris / Method

Method Method

context/context.go:888–890  ·  view source on GitHub ↗

+------------------------------------------------------------+ | Path, Host, Subdomain, IP, Headers etc... | +------------------------------------------------------------+ Method returns the request.Method, the client's http method to the server.

()

Source from the content-addressed store, hash-verified

886
887// Method returns the request.Method, the client's http method to the server.
888func (ctx *Context) Method() string {
889 return ctx.request.Method
890}
891
892// Path returns the full request path,
893// escaped if EnablePathEscape config field is true.

Callers 3

ReadBodyMethod · 0.95
CheckIfModifiedSinceMethod · 0.95
StringMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected