Class RpcMethod
RPC query to POST a json object
Inheritance
System.Object
RpcMethod
Inherited Members
Namespace: Netezos.Rpc
Assembly: Netezos.dll
Syntax
public class RpcMethod : RpcQuery
Methods
| Improve this Doc View SourcePostAsync(Object)
Send a POST request with specified json object content and returns the dynamic json object
Declaration
public Task<dynamic> PostAsync(object content)
Parameters
Type | Name | Description |
---|---|---|
System.Object | content | Object to send |
Returns
Type | Description |
---|---|
Task<System.Object> |
PostAsync(String)
Send a POST request with specified json content and returns the dynamic json object
Declaration
public Task<dynamic> PostAsync(string content)
Parameters
Type | Name | Description |
---|---|---|
System.String | content | Json content to send |
Returns
Type | Description |
---|---|
Task<System.Object> |
PostAsync<T>(Object)
Send a POST request with specified json object content and returns the json object, deserialized to the specified type
Declaration
public Task<T> PostAsync<T>(object content)
Parameters
Type | Name | Description |
---|---|---|
System.Object | content | Object to send |
Returns
Type | Description |
---|---|
Task<T> |
Type Parameters
Name | Description |
---|---|
T | Type of the object to deserialize to |
PostAsync<T>(String)
Send a POST request with specified json content and returns the json object, deserialized to the specified type
Declaration
public Task<T> PostAsync<T>(string content)
Parameters
Type | Name | Description |
---|---|---|
System.String | content | Json content to send |
Returns
Type | Description |
---|---|
Task<T> |
Type Parameters
Name | Description |
---|---|
T | Type of the object to deserialize to |