C# 클래스 bedrock.net.HttpSocket

상속: bedrock.net.BaseSocket, ISocketEventListener
파일 보기 프로젝트 열기: PersonifyInc/jabber-net 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Connect void

공개 메소드들

메소드 설명
Execute ( string method, Uri URL, byte body, int offset, int len, string contentType ) : void

Execute an HTTP request.

HttpSocket ( ISocketEventListener listener ) : System

Create a socket. This starts a thread for background processing, but the thread is mostly paused waiting for new requests.

비공개 메소드들

메소드 설명
Connect ( Uri uri ) : void

Generally should not be used.

메소드 상세

Execute() 공개 메소드

Execute an HTTP request.
public Execute ( string method, Uri URL, byte body, int offset, int len, string contentType ) : void
method string The HTTP method verb. E.g. "GET", "POST", etc.
URL System.Uri The URL to request. MUST be for the same host as the first request.
body byte Any data to post with the request
offset int The offset into body from which to start
len int The number of bytes to read from body, starting at offset
contentType string The MIME type of the supplied body
리턴 void

HttpSocket() 공개 메소드

Create a socket. This starts a thread for background processing, but the thread is mostly paused waiting for new requests.
public HttpSocket ( ISocketEventListener listener ) : System
listener ISocketEventListener
리턴 System