Method PutConfig
PutConfig(Config)
Changes the pad config.
Declaration
public TryOptionAsync<HttpResponseMessage> PutConfig(Config config)
Parameters
| Type | Name | Description |
|---|---|---|
| Config | config | The changed config. |
Returns
| Type | Description |
|---|---|
| LanguageExt.TryOptionAsync<System.Net.Http.HttpResponseMessage> | The reply. |
Remarks
You can get the config with GetConfig().
PutConfig(String)
Changes the pad config.
Declaration
public TryOptionAsync<HttpResponseMessage> PutConfig(string config)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | config | The changed config. |
Returns
| Type | Description |
|---|---|
| LanguageExt.TryOptionAsync<System.Net.Http.HttpResponseMessage> | The reply. |
Remarks
You can get the config with GetConfig().
PutConfig(HttpContent)
Changes the pad config.
Declaration
public TryOptionAsync<HttpResponseMessage> PutConfig(HttpContent httpContent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Net.Http.HttpContent | httpContent |
Returns
| Type | Description |
|---|---|
| LanguageExt.TryOptionAsync<System.Net.Http.HttpResponseMessage> | The reply. |
Remarks
You can get the config with GetConfig().