http/method.bend checks
raw source on the hub · import 0xc881aca5522201b79e03cfebccc53018/http/method.bend as Method
1 import
import Base
Types
type Method source · line 4 · raw
Data
request methods (RFC 9110 §9); names are case-sensitive
MGetMethod
MHeadMethod
MPostMethod
MPutMethod
MDeleteMethod
MConnectMethod
MOptionsMethod
MTraceMethod
MPatchMethod
MOther@name:String -> Method
Definitions
def show source · line 16 · raw
@m:Method -> String
def parse source · line 41 · raw
@s:String -> Method
a literal match compares nothing through a shared helper, so it reads s without sharing it