启用该功能时,请先启用WebSocket。
public static IApplicationBuilder UseWebSocketDmtp(
this IApplicationBuilder builder,
string url = "/websocketdmtp"
)
<ExtensionAttribute>
Public Shared Function UseWebSocketDmtp (
builder As IApplicationBuilder,
Optional url As String = "/websocketdmtp"
) As IApplicationBuilder
[<ExtensionAttribute>]
static member UseWebSocketDmtp :
builder : IApplicationBuilder *
?url : string
(* Defaults:
let _url = defaultArg url "/websocketdmtp"
*)
-> IApplicationBuilder
[缺少 "M:Microsoft.AspNetCore.Builder.ApplicationBuilderExtensions.UseWebSocketDmtp(Microsoft.AspNetCore.Builder.IApplicationBuilder,System.String)" 的 <param name="builder"/> 文档]
[缺少 "M:Microsoft.AspNetCore.Builder.ApplicationBuilderExtensions.UseWebSocketDmtp(Microsoft.AspNetCore.Builder.IApplicationBuilder,System.String)" 的 <param name="url"/> 文档]
[缺少 "M:Microsoft.AspNetCore.Builder.ApplicationBuilderExtensions.UseWebSocketDmtp(Microsoft.AspNetCore.Builder.IApplicationBuilder,System.String)" 的 <returns> 文档]