terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
System.Net.WebRequestStream Class Reference
+ Inheritance diagram for System.Net.WebRequestStream:
+ Collaboration diagram for System.Net.WebRequestStream:

Classes

struct  d__31
 
struct  d__33
 
struct  d__34
 
struct  d__36
 
struct  d__37
 
struct  d__38
 
struct  d__39
 
struct  d__40
 

Public Member Functions

 WebRequestStream (WebConnection connection, WebOperation operation, Stream stream, WebConnectionTunnel tunnel)
 
override Task WriteAsync (byte[] buffer, int offset, int count, CancellationToken cancellationToken)
 
override Task< int > ReadAsync (byte[] buffer, int offset, int size, CancellationToken cancellationToken)
 
override int Read (byte[] buffer, int offset, int count)
 
virtual int Read (global::System.Span< byte > buffer)
 
override IAsyncResult BeginRead (byte[] buffer, int offset, int count, AsyncCallback cb, object state)
 
virtual global::System.IAsyncResult BeginRead (byte[] buffer, int offset, int count, global::System.AsyncCallback callback, object state)
 
override int EndRead (IAsyncResult r)
 
virtual int EndRead (global::System.IAsyncResult asyncResult)
 
override IAsyncResult BeginWrite (byte[] buffer, int offset, int count, AsyncCallback cb, object state)
 
virtual global::System.IAsyncResult BeginWrite (byte[] buffer, int offset, int count, global::System.AsyncCallback callback, object state)
 
override void EndWrite (IAsyncResult r)
 
virtual void EndWrite (global::System.IAsyncResult asyncResult)
 
override void Write (byte[] buffer, int offset, int count)
 
virtual void Write (global::System.ReadOnlySpan< byte > buffer)
 
override void Flush ()
 
override Task FlushAsync (CancellationToken cancellationToken)
 
virtual global::System.Threading.Tasks.Task FlushAsync (global::System.Threading.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 ()
 
global::System.Threading.Tasks.Task< int > ReadAsync (byte[] buffer, int offset, int count)
 
virtual global::System.Threading.Tasks.Task< int > ReadAsync (byte[] buffer, int offset, int count, global::System.Threading.CancellationToken cancellationToken)
 
virtual global::System.Threading.Tasks.ValueTask< int > ReadAsync (global::System.Memory< byte > buffer, global::System.Threading.CancellationToken cancellationToken=default(global::System.Threading.CancellationToken))
 
global::System.Threading.Tasks.Task WriteAsync (byte[] buffer, int offset, int count)
 
virtual global::System.Threading.Tasks.Task WriteAsync (byte[] buffer, int offset, int count, global::System.Threading.CancellationToken cancellationToken)
 
virtual global::System.Threading.Tasks.ValueTask WriteAsync (global::System.ReadOnlyMemory< byte > buffer, global::System.Threading.CancellationToken cancellationToken=default(global::System.Threading.CancellationToken))
 
virtual int ReadByte ()
 
virtual void WriteByte (byte value)
 

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 (ref bool disposed)
 
Exception GetException (Exception e)
 
virtual void Dispose (bool disposing)
 

Protected Attributes

bool closed
 

Package Functions

BufferOffsetSize GetWriteBuffer ()
 
Task Initialize (CancellationToken cancellationToken)
 
Task WriteRequestAsync (CancellationToken cancellationToken)
 
void KillBuffer ()
 
void InternalClose ()
 
global::System.Threading.SemaphoreSlim EnsureAsyncActiveSemaphoreInitialized ()
 
global::System.IAsyncResult BeginReadInternal (byte[] buffer, int offset, int count, global::System.AsyncCallback callback, object state, bool serializeAsynchronously, bool apm)
 
global::System.IAsyncResult BeginWriteInternal (byte[] buffer, int offset, int count, global::System.AsyncCallback callback, object state, bool serializeAsynchronously, bool apm)
 
global::System.IAsyncResult BlockingBeginRead (byte[] buffer, int offset, int count, global::System.AsyncCallback callback, object state)
 
global::System.IAsyncResult BlockingBeginWrite (byte[] buffer, int offset, int count, global::System.AsyncCallback callback, object state)
 

Static Package Functions

static int BlockingEndRead (global::System.IAsyncResult asyncResult)
 
static void BlockingEndWrite (global::System.IAsyncResult asyncResult)
 
static global::System.Threading.Tasks.ValueTask< int > Method_Internal_Static_ValueTask_1_Int32_Task_1_Int32_Byte_Memory_1_Byte_0 (global::System.Threading.Tasks.Task< int > readTask, byte[] localBuffer, global::System.Memory< byte > localDestination)
 

Package Attributes

readonly string ME
 
bool IgnoreIOErrors
 

Properties

Stream InnerStream [get, set]
 
bool KeepAlive [get, set]
 
override bool CanRead [get, set]
 
override bool CanWrite [get, set]
 
bool SendChunked [get, set]
 
bool HasWriteBuffer [get, set]
 
int WriteBufferLength [get, set]
 
HttpWebRequest Request [get, set]
 
WebConnection Connection [get, set]
 
WebOperation Operation [get, set]
 
ServicePoint ServicePoint [get, set]
 
override bool CanTimeout [get, set]
 
override int ReadTimeout [get, set]
 
override int WriteTimeout [get, set]
 
override bool CanSeek [get, set]
 
override long Length [get, set]
 
override long Position [get, set]
 

Private Member Functions

Task FinishWriting (CancellationToken cancellationToken)
 
Task WriteAsyncInner (byte[] buffer, int offset, int size, WebCompletionSource completion, CancellationToken cancellationToken)
 
Task ProcessWrite (byte[] buffer, int offset, int size, CancellationToken cancellationToken)
 
void CheckWriteOverflow (long contentLength, long totalWritten, long size)
 
Task SetHeadersAsync (bool setInternalLength, CancellationToken cancellationToken)
 
Task WriteChunkTrailer_inner (CancellationToken cancellationToken)
 
Task WriteChunkTrailer ()
 
int GetCopyBufferSize ()
 
global::System.Threading.Tasks.Task< int > BeginEndReadAsync (byte[] buffer, int offset, int count)
 
void RunReadWriteTaskWhenReady (global::System.Threading.Tasks.Task asyncWaiter, Stream.ReadWriteTask readWriteTask)
 
void RunReadWriteTask (Stream.ReadWriteTask readWriteTask)
 
void FinishTrackingAsyncOperation ()
 
global::System.Threading.Tasks.Task FinishWriteAsync (global::System.Threading.Tasks.Task writeTask, byte[] localBuffer)
 
global::System.Threading.Tasks.Task BeginEndWriteAsync (byte[] buffer, int offset, int count)
 
bool HasOverriddenBeginEndRead ()
 
bool HasOverriddenBeginEndWrite ()
 

Static Private Member Functions

static WebRequestStream ()
 

Private Attributes

MemoryStream writeBuffer
 
bool requestWritten
 
bool allowBuffering
 
bool sendChunked
 
WebCompletionSource pendingWrite
 
long totalWritten
 
byte[] headers
 
bool headersSent
 
int completeRequestWritten
 
int chunkTrailerWritten
 
readonly Stream< InnerStreamk__BackingField
 
readonly bool< KeepAlivek__BackingField
 
bool disposed
 
object locker
 
int read_timeout
 
int write_timeout
 
Stream.ReadWriteTask _activeReadWriteTask
 
global::System.Threading.SemaphoreSlim _asyncActiveSemaphore
 

Static Private Attributes

static byte[] crlf
 

Detailed Description

Definition at line 16 of file WebRequestStream.cs.


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