WebSocket.RegisterPrefixes 方法

定义

注意

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

允许调用方注册 WebSocket 请求的前缀(ws 和 wss)。

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 static void RegisterPrefixes();
public static void RegisterPrefixes ();
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.")]
public static void RegisterPrefixes ();
static member RegisterPrefixes : unit -> unit
[<System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.")>]
static member RegisterPrefixes : unit -> unit
Public Shared Sub RegisterPrefixes ()
属性

适用于