WebPubSubSocketIOSettings Class
- java.
lang. Object - com.
azure. resourcemanager. webpubsub. models. WebPubSubSocketIOSettings
- com.
Implements
public final class WebPubSubSocketIOSettings
implements JsonSerializable<WebPubSubSocketIOSettings>
SocketIO settings for the resource.
Constructor Summary
| Constructor | Description |
|---|---|
| WebPubSubSocketIOSettings() |
Creates an instance of Web |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Web |
fromJson(JsonReader jsonReader)
Reads an instance of Web |
| String |
serviceMode()
Get the service |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Web |
withServiceMode(String serviceMode)
Set the service |
Methods inherited from java.lang.Object
Constructor Details
WebPubSubSocketIOSettings
public WebPubSubSocketIOSettings()
Creates an instance of WebPubSubSocketIOSettings class.
Method Details
fromJson
public static WebPubSubSocketIOSettings fromJson(JsonReader jsonReader)
Reads an instance of WebPubSubSocketIOSettings from the JsonReader.
Parameters:
Returns:
Throws:
serviceMode
public String serviceMode()
Get the serviceMode property: The service mode of Web PubSub for Socket.IO. Values allowed: "Default": have your own backend Socket.IO server "Serverless": your application doesn't have a backend server.
Returns:
toJson
validate
public void validate()
Validates the instance.
withServiceMode
public WebPubSubSocketIOSettings withServiceMode(String serviceMode)
Set the serviceMode property: The service mode of Web PubSub for Socket.IO. Values allowed: "Default": have your own backend Socket.IO server "Serverless": your application doesn't have a backend server.
Parameters:
Returns: