C# 클래스 Microsoft.AspNet.Server.Kestrel.Http.FrameRequestStream

상속: Stream
파일 보기 프로젝트 열기: Starcounter/KestrelHttpServer 1 사용 예제들

공개 메소드들

메소드 설명
BeginRead ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
EndRead ( IAsyncResult asyncResult ) : int
Flush ( ) : void
FrameRequestStream ( MessageBody body ) : System
Read ( byte buffer, int offset, int count ) : int
ReadAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
ReadAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken, object state ) : Task
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void

메소드 상세

BeginRead() 공개 메소드

public BeginRead ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
count int
callback AsyncCallback
state object
리턴 IAsyncResult

EndRead() 공개 메소드

public EndRead ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
리턴 int

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

FrameRequestStream() 공개 메소드

public FrameRequestStream ( MessageBody body ) : System
body MessageBody
리턴 System

Read() 공개 메소드

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
리턴 int

ReadAsync() 공개 메소드

public ReadAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
buffer byte
offset int
count int
cancellationToken System.Threading.CancellationToken
리턴 Task

ReadAsync() 공개 메소드

public ReadAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken, object state ) : Task
buffer byte
offset int
count int
cancellationToken System.Threading.CancellationToken
state object
리턴 Task

Seek() 공개 메소드

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
리턴 long

SetLength() 공개 메소드

public SetLength ( long value ) : void
value long
리턴 void

Write() 공개 메소드

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
리턴 void