Share via


MultiplexedConnectionContext 클래스

정의

멀티플렉싱 연결에 대한 모든 정보를 캡슐화합니다.

public abstract class MultiplexedConnectionContext : Microsoft.AspNetCore.Connections.BaseConnectionContext, IAsyncDisposable
type MultiplexedConnectionContext = class
    inherit BaseConnectionContext
    interface IAsyncDisposable
Public MustInherit Class MultiplexedConnectionContext
Inherits BaseConnectionContext
Implements IAsyncDisposable
상속
MultiplexedConnectionContext
구현

생성자

MultiplexedConnectionContext()

멀티플렉싱 연결에 대한 모든 정보를 캡슐화합니다.

속성

ConnectionClosed

클라이언트 연결이 닫혀 있을 때 트리거됩니다.

(다음에서 상속됨 BaseConnectionContext)
ConnectionId

추적 로그에서 이 연결을 나타내는 고유 식별자를 가져오거나 설정합니다.

(다음에서 상속됨 BaseConnectionContext)
Features

이 연결에서 사용할 수 있는 서버 및 미들웨어에서 제공하는 기능 컬렉션을 가져옵니다.

(다음에서 상속됨 BaseConnectionContext)
Items

이 연결의 scope 내에서 데이터를 공유하는 데 사용할 수 있는 키/값 컬렉션을 가져오거나 설정합니다.

(다음에서 상속됨 BaseConnectionContext)
LocalEndPoint

이 연결의 로컬 엔드포인트를 가져오거나 설정합니다.

(다음에서 상속됨 BaseConnectionContext)
RemoteEndPoint

이 연결에 대한 원격 엔드포인트를 가져오거나 설정합니다.

(다음에서 상속됨 BaseConnectionContext)

메서드

Abort()

기본 연결을 중단합니다.

(다음에서 상속됨 BaseConnectionContext)
Abort(ConnectionAbortedException)

기본 연결을 중단합니다.

(다음에서 상속됨 BaseConnectionContext)
AcceptAsync(CancellationToken)

연결에서 들어오는 스트림을 비동기적으로 수락합니다.

ConnectAsync(IFeatureCollection, CancellationToken)

아웃바운드 연결을 만듭니다.

DisposeAsync()

기본 연결에 대한 리소스를 해제합니다.

(다음에서 상속됨 BaseConnectionContext)

적용 대상