bin/Microsoft.AspNet.SignalR.Core.xml
(开头部分) 205KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>Microsoft.AspNet.SignalR.Core</name>
</assembly>
<members>
<member name="T:Microsoft.AspNet.SignalR.AuthorizeAttribute">
<summary>Apply to Hubs and Hub methods to authorize client connections to Hubs and authorize client invocations of Hub methods.</summary>
</member>
<member name="M:Microsoft.AspNet.SignalR.AuthorizeAttribute.#ctor"></member>
<member name="F:Microsoft.AspNet.SignalR.AuthorizeAttribute._requireOutgoing"></member>
<member name="M:Microsoft.AspNet.SignalR.AuthorizeAttribute.AuthorizeHubConnection(Microsoft.AspNet.SignalR.Hubs.HubDescriptor,Microsoft.AspNet.SignalR.IRequest)">
<summary>Determines whether client is authorized to connect to <see cref="T:Microsoft.AspNet.SignalR.Hubs.IHub" />.</summary>
<returns>true if the caller is authorized to connect to the hub; otherwise, false.</returns>
<param name="hubDescriptor">Description of the hub client is attempting to connect to.</param>
<param name="request">The (re)connect request from the client.</param>
</member>
<member name="M:Microsoft.AspNet.SignalR.AuthorizeAttribute.AuthorizeHubMethodInvocation(Microsoft.AspNet.SignalR.Hubs.IHubIncomingInvokerContext,System.Boolean)">
<summary>Determines whether client is authorized to invoke the <see cref="T:Microsoft.AspNet.SignalR.Hubs.IHub" /> method.</summary>
<returns>true if the caller is authorized to invoke the <see cref="T:Microsoft.AspNet.SignalR.Hubs.IHub" /> method; otherwise, false.</returns>
<param name="hubIncomingInvokerContext">An <see cref="T:Microsoft.AspNet.SignalR.Hubs.IHubIncomingInvokerContext" /> providing details regarding the <see cref="T:Microsoft.AspNet.SignalR.Hubs.IHub" /> method invocation.</param>
<param name="appliesToMethod">Indicates whether the interface instance is an attribute applied directly to a method.</param>
</member>
<member name="P:Microsoft.AspNet.SignalR.AuthorizeAttribute.RequireOutgoing">
<summary>Set to false to apply authorization only to the invocations of any of the Hub's server-side methods. This property only affects attributes applied to the Hub class. This property cannot be read.</summary>
<returns>Returns <see cref="T:System.Boolean" />.</returns>
</member>
<member name="P:Microsoft.AspNet.SignalR.AuthorizeAttribute.Roles">
<summary>Gets or sets the user roles.</summary>
<returns>Returns <see cref="T:System.String" />.</returns>
</member>
<member name="M:Microsoft.AspNet.SignalR.AuthorizeAttribute.UserAuthorized(System.Security.Principal.IPrincipal)">
<summary>When overridden, provides an entry point for custom authorization checks. Called by <see cref="M:Microsoft.AspNet.SignalR.AuthorizeAttribute.AuthorizeHubConnection(Microsoft.AspNet.SignalR.Hubs.HubDescriptor,Microsoft.AspNet.SignalR.IRequest)" /> and <see cref="M:Microsoft.AspNet.SignalR.AuthorizeAttribute.AuthorizeHubMethodInvocation(Microsoft.AspNet.SignalR.Hubs.IHubIncomingInvokerContext,System.Boolean)" />.</summary>
<returns>true if the user is authorized, otherwise, false.</returns>
<param name="user">The <see cref="T:System.Security.Principal.IPrincipal" /> for the client being authorized.</param>
</member>
<member name="P:Microsoft.AspNet.SignalR.AuthorizeAttribute.Users">
<summary>Gets or sets the authorized users.</summary>
<returns>Returns <see cref="T:System.String" />.</returns>
</member>
<member name="T:Microsoft.AspNet.SignalR.ConnectionConfiguration"></member>
<member name="M:Microsoft.AspNet.SignalR.ConnectionConfiguration.#ctor"></member>
<member name="P:Microsoft.AspNet.SignalR.ConnectionConfiguration.EnableCrossDomain">
<summary> Determines if browsers can make cross domain requests to SignalR endpoints.</summary>
<returns>Returns <see cref="T:System.Boolean" />.</returns>
</member>
<member name="P:Microsoft.AspNet.SignalR.ConnectionConfiguration.Resolver">
<summary>The dependency resolver to use for the hub connection.</summary>
<returns>Returns <see cref="T:Microsoft.AspNet.SignalR.IDependencyResolver" />.</returns>
</member>
<member name="T:Microsoft.AspNet.SignalR.ConnectionExtensions"></member>
<member name="M:Microsoft.AspNet.SignalR.ConnectionExtensions.Broadcast(Microsoft.AspNet.SignalR.IConnection,System.Object,System.String[])">
<summary>Broadcasts a value to all connections, excluding the connection ids specified.</summary>
<returns>A task that represents when the broadcast is complete.</returns>
<param name="connection">The connection</param>
<param name="value">The value to broadcast.</param>
<param name="excludeConnectionIds">The list of connection ids to exclude</param>
</member>
<member name="M:Microsoft.AspNet.SignalR.ConnectionExtensions.Send(Microsoft.AspNet.SignalR.IConnection,System.String,System.Object,System.String[])">
<summary>Sends a message to all connections subscribed to the specified signal. An example of signal may be a specific connection id, or fully qualified group name (Use <see cref="T:Microsoft.AspNet.SignalR.IGroupManager" /> to manipulate groups).</summary>
后面还有 2393 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。