C# Class System.Net.HttpListenerResponse

Inheritance: IDisposable
Mostra file Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
CanSendResponseBody bool
CancelLastWrite void
CheckDisposed void
ComputeCookies void
ComputeCoreHeaders void
ComputeHeaders Interop.HttpApi.HTTP_FLAGS
Dispose void
EnsureResponseStream void
FreePinnedHeaders void
HttpListenerResponse System.Collections.Generic
HttpListenerResponse System.Collections.Generic
NonBlockingCloseCallback void
SendHeaders uint
SerializeHeaders List

Public Methods

Method Description
Abort ( ) : void
AddHeader ( string name, string value ) : void
AppendCookie ( Cookie cookie ) : void
AppendHeader ( string name, string value ) : void
Close ( ) : void
Close ( byte responseEntity, bool willBlock ) : void
CopyFrom ( HttpListenerResponse templateResponse ) : void
IDisposable ( ) : void
Redirect ( string url ) : void
SetCookie ( Cookie cookie ) : void

Private Methods

Method Description
CanSendResponseBody ( int responseCode ) : bool
CancelLastWrite ( SafeHandle requestQueueHandle ) : void
CheckDisposed ( ) : void
ComputeCookies ( ) : void
ComputeCoreHeaders ( ) : void
ComputeHeaders ( ) : Interop.HttpApi.HTTP_FLAGS
Dispose ( bool disposing ) : void
EnsureResponseStream ( ) : void
FreePinnedHeaders ( List pinnedHeaders ) : void
HttpListenerResponse ( ) : System.Collections.Generic
HttpListenerResponse ( HttpListenerContext httpContext ) : System.Collections.Generic
NonBlockingCloseCallback ( IAsyncResult asyncResult ) : void
SendHeaders ( System.Net.Interop pDataChunk, HttpResponseStreamAsyncResult asyncResult, System.Net.Interop flags, bool isWebSocketHandshake ) : uint
SerializeHeaders ( System.Net.Interop &headers, bool isWebSocketHandshake ) : List

Method Details

Abort() public method

public Abort ( ) : void
return void

AddHeader() public method

public AddHeader ( string name, string value ) : void
name string
value string
return void

AppendCookie() public method

public AppendCookie ( Cookie cookie ) : void
cookie Cookie
return void

AppendHeader() public method

public AppendHeader ( string name, string value ) : void
name string
value string
return void

Close() public method

public Close ( ) : void
return void

Close() public method

public Close ( byte responseEntity, bool willBlock ) : void
responseEntity byte
willBlock bool
return void

CopyFrom() public method

public CopyFrom ( HttpListenerResponse templateResponse ) : void
templateResponse HttpListenerResponse
return void

IDisposable() public method

public IDisposable ( ) : void
return void

Redirect() public method

public Redirect ( string url ) : void
url string
return void

SetCookie() public method

public SetCookie ( Cookie cookie ) : void
cookie Cookie
return void