C# 클래스 ModernHttpClient.ProgressStreamContent

상속: System.Net.Http.StreamContent
파일 보기 프로젝트 열기: xamarin/ModernHttpClient 1 사용 예제들

공개 메소드들

메소드 설명
ProgressStreamContent ( ProgressStream stream ) : System
ProgressStreamContent ( ProgressStream stream, int bufferSize ) : System
ProgressStreamContent ( Stream stream, CancellationToken token ) : System
ProgressStreamContent ( Stream stream, int bufferSize ) : System
init ( ProgressStream stream ) : void
readBytes ( long bytes ) : void
reset ( ) : void

보호된 메소드들

메소드 설명
SerializeToStreamAsync ( Stream stream, System.Net.TransportContext context ) : Task
TryComputeLength ( long &length ) : bool

메소드 상세

ProgressStreamContent() 공개 메소드

public ProgressStreamContent ( ProgressStream stream ) : System
stream ProgressStream
리턴 System

ProgressStreamContent() 공개 메소드

public ProgressStreamContent ( ProgressStream stream, int bufferSize ) : System
stream ProgressStream
bufferSize int
리턴 System

ProgressStreamContent() 공개 메소드

public ProgressStreamContent ( Stream stream, CancellationToken token ) : System
stream Stream
token System.Threading.CancellationToken
리턴 System

ProgressStreamContent() 공개 메소드

public ProgressStreamContent ( Stream stream, int bufferSize ) : System
stream Stream
bufferSize int
리턴 System

SerializeToStreamAsync() 보호된 메소드

protected SerializeToStreamAsync ( Stream stream, System.Net.TransportContext context ) : Task
stream Stream
context System.Net.TransportContext
리턴 Task

TryComputeLength() 보호된 메소드

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

init() 공개 메소드

public init ( ProgressStream stream ) : void
stream ProgressStream
리턴 void

readBytes() 공개 메소드

public readBytes ( long bytes ) : void
bytes long
리턴 void

reset() 공개 메소드

public reset ( ) : void
리턴 void