C# 클래스 Manos.Http.HttpStream

상속: System.IO.Stream, IDisposable
파일 보기 프로젝트 열기: Hyperfair/manos 1 사용 예제들

공개 메소드들

메소드 설명
End ( ) : void
End ( System.Action callback ) : void
Flush ( ) : void
HttpStream ( Manos.Http.HttpEntity entity, Manos stream ) : System
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SendBufferedOps ( ) : void
SendFile ( string file_name ) : void
SendFinalChunk ( System.Action callback ) : void
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void

비공개 메소드들

메소드 설명
EnsureMetadata ( ) : void
QueueBuffer ( ByteBuffer buffer ) : void
QueueFile ( string file ) : void
SendCallback ( System.Action callback ) : IEnumerable
SendChunk ( long l, bool last ) : void
SendFileData ( string fileName ) : void
SendFileImpl ( string fileName ) : void
Write ( byte buffer, int offset, int count, bool chunked ) : void
WriteMetadata ( ) : void

메소드 상세

End() 공개 메소드

public End ( ) : void
리턴 void

End() 공개 메소드

public End ( System.Action callback ) : void
callback System.Action
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

HttpStream() 공개 메소드

public HttpStream ( Manos.Http.HttpEntity entity, Manos stream ) : System
entity Manos.Http.HttpEntity
stream Manos
리턴 System

Read() 공개 메소드

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

Seek() 공개 메소드

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

SendBufferedOps() 공개 메소드

public SendBufferedOps ( ) : void
리턴 void

SendFile() 공개 메소드

public SendFile ( string file_name ) : void
file_name string
리턴 void

SendFinalChunk() 공개 메소드

public SendFinalChunk ( System.Action callback ) : void
callback System.Action
리턴 void

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