Share via


DefaultConnectionContext Constructors

Definition

Overloads

DefaultConnectionContext()

Creates the DefaultConnectionContext without Pipes to avoid upfront allocations. The caller is expected to set the Transport and Application pipes manually.

DefaultConnectionContext(String)

Creates the DefaultConnectionContext without Pipes to avoid upfront allocations. The caller is expected to set the Transport and Application pipes manually.

DefaultConnectionContext(String, IDuplexPipe, IDuplexPipe)

Creates the DefaultConnectionContext with the given transport and application pipes.

DefaultConnectionContext()

Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs

Creates the DefaultConnectionContext without Pipes to avoid upfront allocations. The caller is expected to set the Transport and Application pipes manually.

public:
 DefaultConnectionContext();
public DefaultConnectionContext ();
Public Sub New ()

Applies to

DefaultConnectionContext(String)

Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs

Creates the DefaultConnectionContext without Pipes to avoid upfront allocations. The caller is expected to set the Transport and Application pipes manually.

public:
 DefaultConnectionContext(System::String ^ id);
public DefaultConnectionContext (string id);
new Microsoft.AspNetCore.Connections.DefaultConnectionContext : string -> Microsoft.AspNetCore.Connections.DefaultConnectionContext
Public Sub New (id As String)

Parameters

Applies to

DefaultConnectionContext(String, IDuplexPipe, IDuplexPipe)

Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs

Creates the DefaultConnectionContext with the given transport and application pipes.

public:
 DefaultConnectionContext(System::String ^ id, System::IO::Pipelines::IDuplexPipe ^ transport, System::IO::Pipelines::IDuplexPipe ^ application);
public DefaultConnectionContext (string id, System.IO.Pipelines.IDuplexPipe transport, System.IO.Pipelines.IDuplexPipe application);
new Microsoft.AspNetCore.Connections.DefaultConnectionContext : string * System.IO.Pipelines.IDuplexPipe * System.IO.Pipelines.IDuplexPipe -> Microsoft.AspNetCore.Connections.DefaultConnectionContext
Public Sub New (id As String, transport As IDuplexPipe, application As IDuplexPipe)

Parameters

transport
IDuplexPipe

The Transport.

application
IDuplexPipe

The Application.

Applies to