다음을 통해 공유


WebSocketAcceptAdapter 생성자

정의

OWIN 환경에 대한 의 WebSocketAcceptAdapter 새 instance 초기화합니다.

public:
 WebSocketAcceptAdapter(System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ env, Func<Microsoft::AspNetCore::Http::WebSocketAcceptContext ^, System::Threading::Tasks::Task<System::Net::WebSockets::WebSocket ^> ^> ^ accept);
public WebSocketAcceptAdapter (System.Collections.Generic.IDictionary<string,object> env, Func<Microsoft.AspNetCore.Http.WebSocketAcceptContext,System.Threading.Tasks.Task<System.Net.WebSockets.WebSocket>> accept);
new Microsoft.AspNetCore.Owin.WebSocketAcceptAdapter : System.Collections.Generic.IDictionary<string, obj> * Func<Microsoft.AspNetCore.Http.WebSocketAcceptContext, System.Threading.Tasks.Task<System.Net.WebSockets.WebSocket>> -> Microsoft.AspNetCore.Owin.WebSocketAcceptAdapter
Public Sub New (env As IDictionary(Of String, Object), accept As Func(Of WebSocketAcceptContext, Task(Of WebSocket)))

매개 변수

env
IDictionary<String,Object>

OWIN 환경입니다.

accept
Func<WebSocketAcceptContext,Task<WebSocket>>

WebSocket은 대리자를 수락합니다.

적용 대상