Home / Docs / Standard library / std.host
Method
Release v0.4.0Edition 0.4, 0.5 preview
A kind of the module std.host, which a module imports by name; the prelude does not put it in scope (spec/31 §1). Edition 0.4, 0.5 preview.
una
pub kind Method = Get | Head | Post | Put | Patch | Delete | OptionsThe methods a request may have (spec/31 §1, ADR 0123 rule 1). The host answers any other with 501.
Specification
Generated from the standard modules of una v0.4.0 (docs/std/listing.json, which is not part of the specification). The specification governs: spec/14 §1.