terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
System.Net.WebResponseStream Class Reference
+ Inheritance diagram for System.Net.WebResponseStream:

Classes

struct  d__40
 
struct  d__47
 
struct  d__48
 
struct  d__52
 

Public Member Functions

 WebResponseStream (WebRequestStream request)
 
override Task< int > ReadAsync (byte[] buffer, int offset, int count, CancellationToken cancellationToken)
 
override Task WriteAsync (byte[] buffer, int offset, int count, CancellationToken cancellationToken)
 
override int Read (byte[] buffer, int offset, int count)
 
virtual int Read (Span< byte > buffer)
 
override IAsyncResult BeginRead (byte[] buffer, int offset, int count, AsyncCallback cb, object state)
 
override int EndRead (IAsyncResult r)
 
override IAsyncResult BeginWrite (byte[] buffer, int offset, int count, AsyncCallback cb, object state)
 
override void EndWrite (IAsyncResult r)
 
override void Write (byte[] buffer, int offset, int count)
 
virtual void Write (ReadOnlySpan< byte > buffer)
 
override void Flush ()
 
override Task FlushAsync (CancellationToken cancellationToken)
 
override void Close ()
 
override long Seek (long a, SeekOrigin b)
 
override void SetLength (long a)
 
void CopyTo (Stream destination)
 
virtual void CopyTo (Stream destination, int bufferSize)
 
void Dispose ()
 
Task< int > ReadAsync (byte[] buffer, int offset, int count)
 
virtual ValueTask< int > ReadAsync (Memory< byte > buffer, [Optional] CancellationToken cancellationToken)
 
Task WriteAsync (byte[] buffer, int offset, int count)
 
virtual ValueTask WriteAsync (ReadOnlyMemory< byte > buffer, [Optional] CancellationToken cancellationToken)
 
virtual int ReadByte ()
 
virtual void WriteByte (byte value)
 
virtual ObjRef CreateObjRef (Type requestedType)
 
virtual object InitializeLifetimeService ()
 

Static Public Attributes

static readonly Stream Null
 

Protected Member Functions

override bool TryReadFromBufferedContent (byte[] buffer, int offset, int count, [Out] int result)
 
override void Close_internal (bool disposed)
 
Exception GetException (Exception e)
 
virtual void Dispose (bool disposing)
 

Protected Attributes

bool closed
 

Package Functions

Task ReadAllAsync (bool resending, CancellationToken cancellationToken)
 
Task InitReadAsync (CancellationToken cancellationToken)
 
void InternalClose ()
 
SemaphoreSlim EnsureAsyncActiveSemaphoreInitialized ()
 
IAsyncResult BeginReadInternal (byte[] buffer, int offset, int count, AsyncCallback callback, object state, bool serializeAsynchronously, bool apm)
 
IAsyncResult BeginWriteInternal (byte[] buffer, int offset, int count, AsyncCallback callback, object state, bool serializeAsynchronously, bool apm)
 
IAsyncResult BlockingBeginRead (byte[] buffer, int offset, int count, AsyncCallback callback, object state)
 
IAsyncResult BlockingBeginWrite (byte[] buffer, int offset, int count, AsyncCallback callback, object state)
 

Static Package Functions

static int BlockingEndRead (IAsyncResult asyncResult)
 
static void BlockingEndWrite (IAsyncResult asyncResult)
 
static ValueTask< int >< ReadAsyncg__FinishReadAsync (Task< int > readTask, byte[] localBuffer, Memory< byte > localDestination)
 

Package Attributes

readonly string ME
 
bool IgnoreIOErrors
 

Properties

WebRequestStream RequestStream [get]
 
WebHeaderCollection Headers [get, private set]
 
HttpStatusCode StatusCode [get, private set]
 
string StatusDescription [get, private set]
 
Version Version [get, private set]
 
bool KeepAlive [get, private set]
 
override bool CanRead [get]
 
override bool CanWrite [get]
 
bool ChunkedRead [get, set]
 
bool ExpectContent [get]
 
HttpWebRequest Request [get]
 
WebConnection Connection [get]
 
WebOperation Operation [get]
 
ServicePoint ServicePoint [get]
 
override bool CanTimeout [get]
 
override int ReadTimeout [get, set]
 
override int WriteTimeout [get, set]
 
override bool CanSeek [get]
 
override long Length [get]
 
override long Position [get, set]
 
ServerIdentity ObjectIdentity [get, set]
 

Private Member Functions

Task< int > ProcessRead (byte[] buffer, int offset, int size, CancellationToken cancellationToken)
 
bool CheckAuthHeader (string headerName)
 
void Initialize (BufferOffsetSize buffer)
 
Task< byte[]> ReadAllAsyncInner (CancellationToken cancellationToken)
 
WebException GetReadException (WebExceptionStatus status, Exception error, string where)
 
bool GetResponse (BufferOffsetSize buffer, int pos, ReadState state)
 
int GetCopyBufferSize ()
 
Task< int > BeginEndReadAsync (byte[] buffer, int offset, int count)
 
void RunReadWriteTaskWhenReady (Task asyncWaiter, Stream.ReadWriteTask readWriteTask)
 
void RunReadWriteTask (Stream.ReadWriteTask readWriteTask)
 
void FinishTrackingAsyncOperation ()
 
Task FinishWriteAsync (Task writeTask, byte[] localBuffer)
 
Task BeginEndWriteAsync (byte[] buffer, int offset, int count)
 
bool HasOverriddenBeginEndRead ()
 
bool HasOverriddenBeginEndWrite ()
 

Private Attributes

WebReadStream innerStream
 
bool nextReadCalled
 
bool bufferedEntireContent
 
WebCompletionSource pendingRead
 
object locker
 
int nestedRead
 
bool read_eof
 
readonly WebRequestStream< RequestStreamk__BackingField
 
WebHeaderCollection< Headersk__BackingField
 
HttpStatusCode< StatusCodek__BackingField
 
string< StatusDescriptionk__BackingField
 
Version< Versionk__BackingField
 
bool< KeepAlivek__BackingField
 
bool< ChunkedReadk__BackingField
 
bool disposed
 
int read_timeout
 
int write_timeout
 
Stream.ReadWriteTask _activeReadWriteTask
 
SemaphoreSlim _asyncActiveSemaphore
 
object _identity
 

Detailed Description

Definition at line 12 of file WebResponseStream.cs.


The documentation for this class was generated from the following file: