C# 클래스 Dmap.ContentFetcher

상속: IDisposable
파일 보기 프로젝트 열기: gburt/dmap-sharp

공개 메소드들

메소드 설명
ContentFetcher ( IPAddress address, UInt16 port ) : System
Dispose ( ) : void
Fetch ( string path ) : byte[]
Fetch ( string path, string query ) : byte[]
Fetch ( string path, string query, WebHeaderCollection extraHeaders, int requestId ) : byte[]
FetchFile ( string path, long offset ) : HttpWebResponse
FetchResponse ( string path, long offset, string query, WebHeaderCollection extraHeaders, int requestId, bool disableKeepalive ) : HttpWebResponse
FetchResponse ( string path, string query, WebHeaderCollection headers ) : HttpWebResponse
GetResponseStream ( HttpWebResponse response ) : Stream
KillAll ( ) : void

메소드 상세

ContentFetcher() 공개 메소드

public ContentFetcher ( IPAddress address, UInt16 port ) : System
address System.Net.IPAddress
port System.UInt16
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Fetch() 공개 메소드

public Fetch ( string path ) : byte[]
path string
리턴 byte[]

Fetch() 공개 메소드

public Fetch ( string path, string query ) : byte[]
path string
query string
리턴 byte[]

Fetch() 공개 메소드

public Fetch ( string path, string query, WebHeaderCollection extraHeaders, int requestId ) : byte[]
path string
query string
extraHeaders System.Net.WebHeaderCollection
requestId int
리턴 byte[]

FetchFile() 공개 메소드

public FetchFile ( string path, long offset ) : HttpWebResponse
path string
offset long
리턴 System.Net.HttpWebResponse

FetchResponse() 공개 메소드

public FetchResponse ( string path, long offset, string query, WebHeaderCollection extraHeaders, int requestId, bool disableKeepalive ) : HttpWebResponse
path string
offset long
query string
extraHeaders System.Net.WebHeaderCollection
requestId int
disableKeepalive bool
리턴 System.Net.HttpWebResponse

FetchResponse() 공개 메소드

public FetchResponse ( string path, string query, WebHeaderCollection headers ) : HttpWebResponse
path string
query string
headers System.Net.WebHeaderCollection
리턴 System.Net.HttpWebResponse

GetResponseStream() 공개 메소드

public GetResponseStream ( HttpWebResponse response ) : Stream
response System.Net.HttpWebResponse
리턴 Stream

KillAll() 공개 메소드

public KillAll ( ) : void
리턴 void