C# 클래스 System.Net.Http.HttpContent

A base class representing an HTTP entity body and content headers.
상속: IDisposable
파일 보기 프로젝트 열기: kumpera/mono 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CreateFixedMemoryStream FixedMemoryStream
GetEncodingFromBuffer System.Text.Encoding
StartsWith int

공개 메소드들

메소드 설명
CopyToAsync ( Stream stream ) : System.Threading.Tasks.Task
CopyToAsync ( Stream stream, TransportContext context ) : System.Threading.Tasks.Task
Dispose ( ) : void
LoadIntoBufferAsync ( ) : System.Threading.Tasks.Task
LoadIntoBufferAsync ( long maxBufferSize ) : System.Threading.Tasks.Task
ReadAsByteArrayAsync ( ) : Task
ReadAsStreamAsync ( ) : Task
ReadAsStringAsync ( ) : Task

보호된 메소드들

메소드 설명
CreateContentReadStreamAsync ( ) : Task
Dispose ( bool disposing ) : void
SerializeToStreamAsync ( Stream stream, TransportContext context ) : System.Threading.Tasks.Task
TryComputeLength ( long &length ) : bool

비공개 메소드들

메소드 설명
CreateFixedMemoryStream ( long maxBufferSize ) : FixedMemoryStream
GetEncodingFromBuffer ( byte buffer, int length, int &preambleLength ) : Encoding
StartsWith ( byte array, int length, byte value ) : int

메소드 상세

CopyToAsync() 공개 메소드

public CopyToAsync ( Stream stream ) : System.Threading.Tasks.Task
stream System.IO.Stream
리턴 System.Threading.Tasks.Task

CopyToAsync() 공개 메소드

public CopyToAsync ( Stream stream, TransportContext context ) : System.Threading.Tasks.Task
stream System.IO.Stream
context TransportContext
리턴 System.Threading.Tasks.Task

CreateContentReadStreamAsync() 보호된 메소드

protected CreateContentReadStreamAsync ( ) : Task
리턴 Task

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

LoadIntoBufferAsync() 공개 메소드

public LoadIntoBufferAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

LoadIntoBufferAsync() 공개 메소드

public LoadIntoBufferAsync ( long maxBufferSize ) : System.Threading.Tasks.Task
maxBufferSize long
리턴 System.Threading.Tasks.Task

ReadAsByteArrayAsync() 공개 메소드

public ReadAsByteArrayAsync ( ) : Task
리턴 Task

ReadAsStreamAsync() 공개 메소드

public ReadAsStreamAsync ( ) : Task
리턴 Task

ReadAsStringAsync() 공개 메소드

public ReadAsStringAsync ( ) : Task
리턴 Task

SerializeToStreamAsync() 보호된 추상적인 메소드

protected abstract SerializeToStreamAsync ( Stream stream, TransportContext context ) : System.Threading.Tasks.Task
stream System.IO.Stream
context TransportContext
리턴 System.Threading.Tasks.Task

TryComputeLength() 보호된 추상적인 메소드

protected abstract TryComputeLength ( long &length ) : bool
length long
리턴 bool