Enumerationswift-nio 2.84.0NIOHTTP1
HTTPMethod
HTTPTypes.swift:630enum HTTPMethod
enum HTTPMethod
import NIOHTTP1
case GET
case PUT
case ACL
case HEAD
case POST
case COPY
case LOCK
case MOVE
case BIND
case LINK
case PATCH
case TRACE
case MKCOL
case MERGE
case PURGE
case NOTIFY
case SEARCH
case UNLOCK
case REBIND
case UNBIND
case REPORT
case DELETE
case UNLINK
case CONNECT
case MSEARCH
case OPTIONS
case PROPFIND
case CHECKOUT
case PROPPATCH
case SUBSCRIBE
case MKCALENDAR
case MKACTIVITY
case UNSUBSCRIBE
case SOURCE
case RAW(value: String)
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol Equatable
A type that can be compared for value equality.
protocol Escapable
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
protocol Sendable
A thread-safe type whose values can be shared across arbitrary concurrent contexts without introducing a risk of data races. Values of the type may have no shared mutable state, or they may protect that state with a lock or by forcing it to only be accessed from a specific actor.
init(rawValue: String)
var rawValue: String { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.