public class Platform
extends java.lang.Object
Constructor and Description |
---|
Platform() |
Modifier and Type | Method and Description |
---|---|
static microsoft.aspnet.signalr.client.http.HttpConnection |
createDefaultHttpConnection(Logger logger) |
static microsoft.aspnet.signalr.client.http.HttpConnection |
createHttpConnection(Logger logger)
Creates an adequate HttpConnection for the current platform
|
static java.lang.String |
getUserAgent()
Generates the User-Agent
|
static void |
loadPlatformComponent(PlatformComponent platformComponent) |
public static microsoft.aspnet.signalr.client.http.HttpConnection createDefaultHttpConnection(Logger logger)
public static microsoft.aspnet.signalr.client.http.HttpConnection createHttpConnection(Logger logger)
logger
- Logger to use with the connectionpublic static java.lang.String getUserAgent()
public static void loadPlatformComponent(PlatformComponent platformComponent)