C# Class ModernHttpClient.ProgressStreamContent

Inheritance: System.Net.Http.StreamContent
Afficher le fichier Open project: xamarin/ModernHttpClient Class Usage Examples

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
SerializeToStreamAsync ( Stream stream, System.Net.TransportContext context ) : Task
TryComputeLength ( long &length ) : bool

Method Details

ProgressStreamContent() public méthode

public ProgressStreamContent ( ProgressStream stream ) : System
stream ProgressStream
Résultat System

ProgressStreamContent() public méthode

public ProgressStreamContent ( ProgressStream stream, int bufferSize ) : System
stream ProgressStream
bufferSize int
Résultat System

ProgressStreamContent() public méthode

public ProgressStreamContent ( Stream stream, CancellationToken token ) : System
stream Stream
token System.Threading.CancellationToken
Résultat System

ProgressStreamContent() public méthode

public ProgressStreamContent ( Stream stream, int bufferSize ) : System
stream Stream
bufferSize int
Résultat System

SerializeToStreamAsync() protected méthode

protected SerializeToStreamAsync ( Stream stream, System.Net.TransportContext context ) : Task
stream Stream
context System.Net.TransportContext
Résultat Task

TryComputeLength() protected méthode

protected TryComputeLength ( long &length ) : bool
length long
Résultat bool

init() public méthode

public init ( ProgressStream stream ) : void
stream ProgressStream
Résultat void

readBytes() public méthode

public readBytes ( long bytes ) : void
bytes long
Résultat void

reset() public méthode

public reset ( ) : void
Résultat void