ServerSentEventsTransport Constructor (IHttpClient)
.NET Framework 4
Namespace: Microsoft.AspNet.SignalR.Client.Transports
Assembly: Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)
Syntax
'Declaration
Public Sub New ( _
httpClient As IHttpClient _
)
'Usage
Dim httpClient As IHttpClient
Dim instance As New ServerSentEventsTransport(httpClient)
public ServerSentEventsTransport(
IHttpClient httpClient
)
public:
ServerSentEventsTransport(
IHttpClient^ httpClient
)
new :
httpClient:IHttpClient -> ServerSentEventsTransport
public function ServerSentEventsTransport(
httpClient : IHttpClient
)
Parameters
- httpClient
Type: Microsoft.AspNet.SignalR.Client.Http.IHttpClient
See Also
Reference
ServerSentEventsTransport Class