C# 클래스 Mapsui.Providers.Wfs.Utilities.HttpClientUtil

This class provides an easy to use interface for HTTP-GET and HTTP-POST requests.
파일 보기 프로젝트 열기: pauldendulk/Mapsui 1 사용 예제들

공개 메소드들

메소드 설명
AddHeader ( string name, string value ) : void

Adds a HTTP header.

Close ( ) : void

This method closes the WebResponse object.

GetDataStream ( ) : Stream

Performs a HTTP-GET or HTTP-POST request and returns a datastream for reading.

HttpClientUtil ( ) : System

Initializes a new instance of the HttpClientUtil class.

Reset ( ) : void

This method resets all configurations.

메소드 상세

AddHeader() 공개 메소드

Adds a HTTP header.
public AddHeader ( string name, string value ) : void
name string The name of the header
value string The value of the header
리턴 void

Close() 공개 메소드

This method closes the WebResponse object.
public Close ( ) : void
리턴 void

GetDataStream() 공개 메소드

Performs a HTTP-GET or HTTP-POST request and returns a datastream for reading.
public GetDataStream ( ) : Stream
리턴 Stream

HttpClientUtil() 공개 메소드

Initializes a new instance of the HttpClientUtil class.
public HttpClientUtil ( ) : System
리턴 System

Reset() 공개 메소드

This method resets all configurations.
public Reset ( ) : void
리턴 void