C# Class System.Net.HttpListenerResponse

Inheritance: IDisposable
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

public Abort ( ) : void
Résultat void

AddHeader() public méthode

public AddHeader ( string name, string value ) : void
name string
value string
Résultat void

AppendCookie() public méthode

public AppendCookie ( Cookie cookie ) : void
cookie Cookie
Résultat void

AppendHeader() public méthode

public AppendHeader ( string name, string value ) : void
name string
value string
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

Close() public méthode

public Close ( byte responseEntity, bool willBlock ) : void
responseEntity byte
willBlock bool
Résultat void

CopyFrom() public méthode

public CopyFrom ( HttpListenerResponse templateResponse ) : void
templateResponse HttpListenerResponse
Résultat void

IDisposable() public méthode

public IDisposable ( ) : void
Résultat void

Redirect() public méthode

public Redirect ( string url ) : void
url string
Résultat void

SetCookie() public méthode

public SetCookie ( Cookie cookie ) : void
cookie Cookie
Résultat void