コード例 #1
0
 public static IHubConnectionBuilder WithUrl(this IHubConnectionBuilder hubConnectionBuilder, Uri url, HttpTransportType transports)
 {
     hubConnectionBuilder.WithUrlCore(url, null, _ => { });
     return(hubConnectionBuilder);
 }
コード例 #2
0
 public static IHubConnectionBuilder WithUrl(this IHubConnectionBuilder hubConnectionBuilder, Uri url, HttpTransportType transports, Action <HttpConnectionOptions> configureHttpConnection)
 {
     hubConnectionBuilder.WithUrlCore(url, transports, _ => { });
     return(hubConnectionBuilder);
 }
コード例 #3
0
 public static IHubConnectionBuilder WithUrl(this IHubConnectionBuilder hubConnectionBuilder, Uri url, Action <HttpConnectionOptions> configureHttpConnection)
 {
     hubConnectionBuilder.WithUrlCore(url, null, configureHttpConnection);
     return(hubConnectionBuilder);
 }
コード例 #4
0
 public static IHubConnectionBuilder WithUrl(this IHubConnectionBuilder hubConnectionBuilder, Uri url)
 {
     hubConnectionBuilder.WithUrlCore(url, null, _ => { });
     return(hubConnectionBuilder);
 }
コード例 #5
0
 public static IHubConnectionBuilder WithUrl(this IHubConnectionBuilder hubConnectionBuilder, string url, HttpTransportType transports, Action <HttpConnectionOptions> configureHttpConnection)
 {
     hubConnectionBuilder.WithUrlCore(new Uri(url), transports, configureHttpConnection);
     return(hubConnectionBuilder);
 }
コード例 #6
0
 public static IHubConnectionBuilder WithUrl(this IHubConnectionBuilder hubConnectionBuilder, string url, HttpTransportType transports)
 {
     hubConnectionBuilder.WithUrlCore(new Uri(url), transports, _ => { });
     return(hubConnectionBuilder);
 }
コード例 #7
0
 public static IHubConnectionBuilder WithUrl(this IHubConnectionBuilder hubConnectionBuilder, string url)
 {
     hubConnectionBuilder.WithUrlCore(new Uri(url), null, _ => { });
     return(hubConnectionBuilder);
 }