Class HttpMethod
이름 공간 : Aspose.Html.Net 구성: Aspose.HTML.dll (25.4.0)
표준 HTTP 방법을 추출하고 비교하는 유용성 클래스를 나타냅니다.
[ComVisible(true)]
public class HttpMethod : IEquatable<httpmethod>
Inheritance
Implements
상속 회원들
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
HttpMethod(스트리트)
Aspose.Html.Net.HttpMethod 클래스의 새로운 예를 특정 HTTP 방법으로 시작합니다.
public HttpMethod(string method)
Parameters
method
string
그 방법을
Properties
Delete
HTTP DELETE 프로토콜 방법을 사용합니다.
public static HttpMethod Delete { get; }
부동산 가치
Get
HTTP GET 프로토콜 방법을 제공합니다.
public static HttpMethod Get { get; }
부동산 가치
Post
HTTP POST 프로토콜 방법을 제공합니다.
public static HttpMethod Post { get; }
부동산 가치
Put
HTTP PUT 프로토콜 방법을 나타냅니다.
public static HttpMethod Put { get; }
부동산 가치
Methods
Equals(HttpMethod)
현재 개체가 동일한 유형의 다른 개체와 동일한지 여부를 나타냅니다.
public bool Equals(HttpMethod other)
Parameters
other
HttpMethod
이 개체와 비교할 수 있는 개체입니다.
Returns
현재 개체가 other’ 파라미터와 동일한 경우 사실; 그렇지 않으면, 가짜.
Equals(객체)
지정된 System.Object이 이 경우와 동일한지 여부를 결정합니다.
public override bool Equals(object obj)
Parameters
obj
object
시스템.Object 이 경우와 비교할 수 있습니다.
Returns
‘진실’이 지정된 System.Object이 이 경우와 동일한 경우; 그렇지 않으면 ‘거짓’입니다.
GetHashCode()
이 경우 해시 코드를 반환합니다.
public override int GetHashCode()
Returns
이 예제에 대한 해시 코드, 해시 테이블과 같은 해시 알고리즘 및 데이터 구조에서 사용하기에 적합합니다.
ToString()
이 경우를 나타내는 System.String을 반환합니다.
public override string ToString()
Returns
이 기회를 대표하는 시스템.String입니다.
Operators
운영자 =(Http 방법, Http 방법)
평등 운영자를 실행합니다.
public static bool operator ==(HttpMethod left, HttpMethod right)
Parameters
left
HttpMethod
왼쪽 오페라
right
HttpMethod
왼쪽 오페라
Returns
이 작전의 결과입니다.
명시적인 운영자 HttpMethod(스트리트)
System.String에서 Aspose.Html.Net.HttpMethod로 명시적인 변환을 수행합니다.
public static explicit operator HttpMethod(string name)
Parameters
name
string
HTTP 방법의 이름입니다.
Returns
변환의 결과입니다.
운영자 !=(Http 방법, Http 방법)
평등 운영자를 실행합니다.
public static bool operator !=(HttpMethod left, HttpMethod right)
Parameters
left
HttpMethod
왼쪽 오페라
right
HttpMethod
왼쪽 오페라
Returns
이 작전의 결과입니다.