HubConnectionBuilderHttpExtensions.WithUrl Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
WithUrl(IHubConnectionBuilder, String) |
Nakonfiguruje HubConnection pro připojení k zadané adrese URL přenosy založené na protokolu HTTP. |
WithUrl(IHubConnectionBuilder, Uri) |
Nakonfiguruje HubConnection pro připojení k zadané adrese URL přenosy založené na protokolu HTTP. |
WithUrl(IHubConnectionBuilder, String, HttpTransportType) |
Nakonfiguruje HubConnection pro připojení k zadané adrese URL a přenosům přenosy pomocí protokolu HTTP. |
WithUrl(IHubConnectionBuilder, String, Action<HttpConnectionOptions>) |
Nakonfiguruje HubConnection pro připojení k zadané adrese URL přenosy založené na protokolu HTTP. |
WithUrl(IHubConnectionBuilder, Uri, HttpTransportType) |
Nakonfiguruje HubConnection pro připojení k zadané adrese URL a přenosům přenosy pomocí protokolu HTTP. |
WithUrl(IHubConnectionBuilder, Uri, Action<HttpConnectionOptions>) |
Nakonfiguruje HubConnection pro připojení k zadané adrese URL přenosy založené na protokolu HTTP. |
WithUrl(IHubConnectionBuilder, String, HttpTransportType, Action<HttpConnectionOptions>) |
Nakonfiguruje HubConnection pro připojení k zadané adrese URL a přenosům přenosy pomocí protokolu HTTP. |
WithUrl(IHubConnectionBuilder, Uri, HttpTransportType, Action<HttpConnectionOptions>) |
Nakonfiguruje HubConnection pro připojení k zadané adrese URL a přenosům přenosy pomocí protokolu HTTP. |
WithUrl(IHubConnectionBuilder, String)
Nakonfiguruje HubConnection pro připojení k zadané adrese URL přenosy založené na protokolu HTTP.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ WithUrl(Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ hubConnectionBuilder, System::String ^ url);
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithUrl (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder, string url);
static member WithUrl : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder * string -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithUrl (hubConnectionBuilder As IHubConnectionBuilder, url As String) As IHubConnectionBuilder
Parametry
- hubConnectionBuilder
- IHubConnectionBuilder
Nakonfigurujete IHubConnectionBuilder .
- url
- String
Adresa URL, která HttpConnection se použije.
Návraty
Stejná instance IHubConnectionBuilder pro řetězení.
Platí pro
WithUrl(IHubConnectionBuilder, Uri)
Nakonfiguruje HubConnection pro připojení k zadané adrese URL přenosy založené na protokolu HTTP.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ WithUrl(Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ hubConnectionBuilder, Uri ^ url);
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithUrl (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder, Uri url);
static member WithUrl : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder * Uri -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithUrl (hubConnectionBuilder As IHubConnectionBuilder, url As Uri) As IHubConnectionBuilder
Parametry
- hubConnectionBuilder
- IHubConnectionBuilder
Nakonfigurujete IHubConnectionBuilder .
- url
- Uri
Adresa URL, která HttpConnection se použije.
Návraty
Stejná instance IHubConnectionBuilder pro řetězení.
Platí pro
WithUrl(IHubConnectionBuilder, String, HttpTransportType)
Nakonfiguruje HubConnection pro připojení k zadané adrese URL a přenosům přenosy pomocí protokolu HTTP.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ WithUrl(Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ hubConnectionBuilder, System::String ^ url, Microsoft::AspNetCore::Http::Connections::HttpTransportType transports);
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithUrl (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder, string url, Microsoft.AspNetCore.Http.Connections.HttpTransportType transports);
static member WithUrl : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder * string * Microsoft.AspNetCore.Http.Connections.HttpTransportType -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithUrl (hubConnectionBuilder As IHubConnectionBuilder, url As String, transports As HttpTransportType) As IHubConnectionBuilder
Parametry
- hubConnectionBuilder
- IHubConnectionBuilder
Nakonfigurujete IHubConnectionBuilder .
- url
- String
Adresa URL, která HttpConnection se použije.
- transports
- HttpTransportType
Bitová maska kombinující jednu nebo více HttpTransportType hodnot, které určují, jaké přenosy má klient použít.
Návraty
Stejná instance IHubConnectionBuilder pro řetězení.
Platí pro
WithUrl(IHubConnectionBuilder, String, Action<HttpConnectionOptions>)
Nakonfiguruje HubConnection pro připojení k zadané adrese URL přenosy založené na protokolu HTTP.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ WithUrl(Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ hubConnectionBuilder, System::String ^ url, Action<Microsoft::AspNetCore::Http::Connections::Client::HttpConnectionOptions ^> ^ configureHttpConnection);
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithUrl (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder, string url, Action<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> configureHttpConnection);
static member WithUrl : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder * string * Action<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithUrl (hubConnectionBuilder As IHubConnectionBuilder, url As String, configureHttpConnection As Action(Of HttpConnectionOptions)) As IHubConnectionBuilder
Parametry
- hubConnectionBuilder
- IHubConnectionBuilder
Nakonfigurujete IHubConnectionBuilder .
- url
- String
Adresa URL, která HttpConnection se použije.
- configureHttpConnection
- Action<HttpConnectionOptions>
Delegát, který konfiguruje HttpConnection.
Návraty
Stejná instance IHubConnectionBuilder pro řetězení.
Platí pro
WithUrl(IHubConnectionBuilder, Uri, HttpTransportType)
Nakonfiguruje HubConnection pro připojení k zadané adrese URL a přenosům přenosy pomocí protokolu HTTP.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ WithUrl(Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ hubConnectionBuilder, Uri ^ url, Microsoft::AspNetCore::Http::Connections::HttpTransportType transports);
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithUrl (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder, Uri url, Microsoft.AspNetCore.Http.Connections.HttpTransportType transports);
static member WithUrl : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder * Uri * Microsoft.AspNetCore.Http.Connections.HttpTransportType -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithUrl (hubConnectionBuilder As IHubConnectionBuilder, url As Uri, transports As HttpTransportType) As IHubConnectionBuilder
Parametry
- hubConnectionBuilder
- IHubConnectionBuilder
Nakonfigurujete IHubConnectionBuilder .
- url
- Uri
Adresa URL, která HttpConnection se použije.
- transports
- HttpTransportType
Bitová maska kombinující jednu nebo více HttpTransportType hodnot, které určují, jaké přenosy má klient použít.
Návraty
Stejná instance IHubConnectionBuilder pro řetězení.
Platí pro
WithUrl(IHubConnectionBuilder, Uri, Action<HttpConnectionOptions>)
Nakonfiguruje HubConnection pro připojení k zadané adrese URL přenosy založené na protokolu HTTP.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ WithUrl(Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ hubConnectionBuilder, Uri ^ url, Action<Microsoft::AspNetCore::Http::Connections::Client::HttpConnectionOptions ^> ^ configureHttpConnection);
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithUrl (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder, Uri url, Action<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> configureHttpConnection);
static member WithUrl : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder * Uri * Action<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithUrl (hubConnectionBuilder As IHubConnectionBuilder, url As Uri, configureHttpConnection As Action(Of HttpConnectionOptions)) As IHubConnectionBuilder
Parametry
- hubConnectionBuilder
- IHubConnectionBuilder
Nakonfigurujete IHubConnectionBuilder .
- url
- Uri
Adresa URL, která HttpConnection se použije.
- configureHttpConnection
- Action<HttpConnectionOptions>
Delegát, který konfiguruje HttpConnection.
Návraty
Stejná instance IHubConnectionBuilder pro řetězení.
Platí pro
WithUrl(IHubConnectionBuilder, String, HttpTransportType, Action<HttpConnectionOptions>)
Nakonfiguruje HubConnection pro připojení k zadané adrese URL a přenosům přenosy pomocí protokolu HTTP.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ WithUrl(Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ hubConnectionBuilder, System::String ^ url, Microsoft::AspNetCore::Http::Connections::HttpTransportType transports, Action<Microsoft::AspNetCore::Http::Connections::Client::HttpConnectionOptions ^> ^ configureHttpConnection);
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithUrl (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder, string url, Microsoft.AspNetCore.Http.Connections.HttpTransportType transports, Action<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> configureHttpConnection);
static member WithUrl : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder * string * Microsoft.AspNetCore.Http.Connections.HttpTransportType * Action<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithUrl (hubConnectionBuilder As IHubConnectionBuilder, url As String, transports As HttpTransportType, configureHttpConnection As Action(Of HttpConnectionOptions)) As IHubConnectionBuilder
Parametry
- hubConnectionBuilder
- IHubConnectionBuilder
Nakonfigurujete IHubConnectionBuilder .
- url
- String
Adresa URL, která HttpConnection se použije.
- transports
- HttpTransportType
Bitová maska kombinující jednu nebo více HttpTransportType hodnot, které určují, jaké přenosy má klient použít.
- configureHttpConnection
- Action<HttpConnectionOptions>
Delegát, který konfiguruje HttpConnection.
Návraty
Stejná instance IHubConnectionBuilder pro řetězení.
Platí pro
WithUrl(IHubConnectionBuilder, Uri, HttpTransportType, Action<HttpConnectionOptions>)
Nakonfiguruje HubConnection pro připojení k zadané adrese URL a přenosům přenosy pomocí protokolu HTTP.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ WithUrl(Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ hubConnectionBuilder, Uri ^ url, Microsoft::AspNetCore::Http::Connections::HttpTransportType transports, Action<Microsoft::AspNetCore::Http::Connections::Client::HttpConnectionOptions ^> ^ configureHttpConnection);
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithUrl (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder, Uri url, Microsoft.AspNetCore.Http.Connections.HttpTransportType transports, Action<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> configureHttpConnection);
static member WithUrl : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder * Uri * Microsoft.AspNetCore.Http.Connections.HttpTransportType * Action<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithUrl (hubConnectionBuilder As IHubConnectionBuilder, url As Uri, transports As HttpTransportType, configureHttpConnection As Action(Of HttpConnectionOptions)) As IHubConnectionBuilder
Parametry
- hubConnectionBuilder
- IHubConnectionBuilder
Nakonfigurujete IHubConnectionBuilder .
- url
- Uri
Adresa URL, která HttpConnection se použije.
- transports
- HttpTransportType
Bitová maska kombinující jednu nebo více HttpTransportType hodnot, které určují, jaké přenosy má klient použít.
- configureHttpConnection
- Action<HttpConnectionOptions>
Delegát, který konfiguruje HttpConnection.
Návraty
Stejná instance IHubConnectionBuilder pro řetězení.