Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Net.Http.HttpMethod Class Reference

Public Member Functions

 HttpMethod (string method)
 
bool Equals ([NotNullWhen(true)] HttpMethod? other)
 
override bool Equals ([NotNullWhen(true)] object? obj)
 
override int GetHashCode ()
 
override string ToString ()
 
bool Equals (T? other)
 

Static Public Member Functions

static bool operator== (HttpMethod? left, HttpMethod? right)
 
static bool operator!= (HttpMethod? left, HttpMethod? right)
 

Static Package Functions

static HttpMethod Normalize (HttpMethod method)
 

Properties

static HttpMethod Get [get]
 
static HttpMethod Put [get]
 
static HttpMethod Post [get]
 
static HttpMethod Delete [get]
 
static HttpMethod Head [get]
 
static HttpMethod Options [get]
 
static HttpMethod Trace [get]
 
static HttpMethod Patch [get]
 
static HttpMethod Connect [get]
 
string Method [get]
 
bool MustHaveRequestBody [get]
 
byte[] Http3EncodedBytes [get]
 

Private Member Functions

 HttpMethod (string method, int http3StaticTableIndex)
 

Private Attributes

readonly string _method
 
readonly? int _http3Index
 
int _hashcode
 
byte[] _http3EncodedBytes
 

Static Private Attributes

static readonly HttpMethod s_getMethod = new HttpMethod("GET", 17)
 
static readonly HttpMethod s_putMethod = new HttpMethod("PUT", 21)
 
static readonly HttpMethod s_postMethod = new HttpMethod("POST", 20)
 
static readonly HttpMethod s_deleteMethod = new HttpMethod("DELETE", 16)
 
static readonly HttpMethod s_headMethod = new HttpMethod("HEAD", 18)
 
static readonly HttpMethod s_optionsMethod = new HttpMethod("OPTIONS", 19)
 
static readonly HttpMethod s_traceMethod = new HttpMethod("TRACE", -1)
 
static readonly HttpMethod s_patchMethod = new HttpMethod("PATCH", -1)
 
static readonly HttpMethod s_connectMethod = new HttpMethod("CONNECT", 15)
 

Detailed Description

Definition at line 7 of file HttpMethod.cs.


The documentation for this class was generated from the following file: