C# 클래스 DirtyHttp, whatsapp-desktop-client

Provides a dirty but simple-to-use wrapper for the HttpWebRequest classes.
파일 보기 프로젝트 열기: sambulosenda/whatsapp-desktop-client 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Method HttpMethod,
Timeout int
Url string
Useragent string

공개 메소드들

메소드 설명
DirtyHttp ( string _Url ) : System

Class constructor, initializes the class. This is an overload for the default class constructor. Uses HTTP GET with a timeout value of 30000 mili-seconds.

DirtyHttp ( string _Url, int _Timeout, HttpMethod, _Method ) : System

Class constructor, initializes the class.

doRequest ( ) : string

Executes the HTTP request.

메소드 상세

DirtyHttp() 공개 메소드

Class constructor, initializes the class. This is an overload for the default class constructor. Uses HTTP GET with a timeout value of 30000 mili-seconds.
public DirtyHttp ( string _Url ) : System
_Url string
리턴 System

DirtyHttp() 공개 메소드

Class constructor, initializes the class.
public DirtyHttp ( string _Url, int _Timeout, HttpMethod, _Method ) : System
_Url string The URL the request should be made at.
_Timeout int The timeout value in mili-seconds.
_Method HttpMethod, The HTTP method that should be used.
리턴 System

doRequest() 공개 메소드

Executes the HTTP request.
public doRequest ( ) : string
리턴 string

프로퍼티 상세

Method 공개적으로 프로퍼티

Holds what HTTP method should be used.
public HttpMethod, Method
리턴 HttpMethod,

Timeout 공개적으로 프로퍼티

The timeout value in mili-seconds.
public int Timeout
리턴 int

Url 공개적으로 프로퍼티

The URL the request should be made at.
public string Url
리턴 string

Useragent 공개적으로 프로퍼티

Holds the default Whatsapp useragent string
public string Useragent
리턴 string