Class HttpMethod

Class HttpMethod

İsim alanı : Aspose.Html.Net Görüntüleme: Aspose.HTML.dll (25.4.0)

Standart HTTP yöntemlerini almak ve karşılaştırmak için yararlılık sınıfını temsil eder.

[ComVisible(true)]
public class HttpMethod : IEquatable<httpmethod>

Inheritance

object HttpMethod

Implements

IEquatable

mirasçı üyeleri

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

HttpMethod(Sırt)

Aspose.Html.Net.HttpMethod sınıfının yeni bir örneği belirli bir HTTP yöntemi ile başlatılır.

public HttpMethod(string method)

Parameters

method string

Bu yöntem.

Properties

Delete

HTTP Delete protokol yöntemini kullanır.

public static HttpMethod Delete { get; }

Mülkiyet Değer

HttpMethod

Get

Bir HTTP GET protokolü yöntemi oluşturur.

public static HttpMethod Get { get; }

Mülkiyet Değer

HttpMethod

Post

HTTP POST protokol yöntemini kullanır.

public static HttpMethod Post { get; }

Mülkiyet Değer

HttpMethod

Put

Bir HTTP PUT protokolü yöntemi oluşturur.

public static HttpMethod Put { get; }

Mülkiyet Değer

HttpMethod

Methods

Equals(HttpMethod)

Mevcut nesnenin aynı türde başka bir nesneye eşit olup olmadığını gösterir.

public bool Equals(HttpMethod other)

Parameters

other HttpMethod

Bu nesne ile karşılaştırılabilir bir nesne.

Returns

bool

mevcut nesne other’ parametres ile eşit ise doğru; aksi takdirde, sahte.

Equals(nesne)

Bu örnekte belirtilen System.Object’in eşit olup olmadığını belirler.

public override bool Equals(object obj)

Parameters

obj object

Sistem.Object bu durumla karşılaştırmak için.

Returns

bool

‘gerçek’ eğer belirtilen System.Object bu örneğe eşittir; aksi takdirde, ‘yanlış’.

GetHashCode()

Bu örnek için bir hash kodu iade eder.

public override int GetHashCode()

Returns

int

Bu örnek için bir hash kodu, hash algoritmalarında ve bir hash tablosu gibi veri yapılarında kullanıma uygundur.

ToString()

Bu istasyonu temsil eden bir System.String’i geri getirir.

public override string ToString()

Returns

string

Bu istasyonu temsil eden bir sistem.String.

Operators

Operatör =(HttpMethod ve HttpMethod)

Eşitlik operatörünü uygulayın.

public static bool operator ==(HttpMethod left, HttpMethod right)

Parameters

left HttpMethod

Sağ operatör.

right HttpMethod

Sağ operatör.

Returns

bool

Operasyonun Sonuçları

Operatör HttpMethod(Sırt)

Sistem.String’den Aspose.Html.Net.HttpMethod’a açık bir dönüşüm yapar.

public static explicit operator HttpMethod(string name)

Parameters

name string

HTTP Metodu Adı

Returns

HttpMethod

Bu dönüşümün sonucu.

Operatör !=(HttpMethod ve HttpMethod)

Eşitlik operatörünü uygulayın.

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

Parameters

left HttpMethod

Sağ operatör.

right HttpMethod

Sağ operatör.

Returns

bool

Operasyonun Sonuçları

 Türkçe