Documentation

Std.Internal.Http.Data.Method

Method #

This module provides the Method type that represents HTTP request methods. It defines all IANA-registered HTTP methods as distinct constructors, including standard methods (e.g. GET, POST, PUT, DELETE) and extension methods from WebDAV, CalDAV, and other specifications. Unrecognized method strings produce none from ofString?.

References:

A method is a verb that describes the action to be performed.

Covers all methods in the IANA HTTP Method Registry.

Instances For
    @[implicit_reducible]
    @[implicit_reducible]
    @[implicit_reducible]

    Converts a String into a Method. Returns none for unrecognized method strings.

    Instances For

      Converts a String into a Method, panicking if unrecognized.

      Instances For
        @[implicit_reducible]