JsonServiceClient class
namespace: Serenity.Services assembly: Serenity.Net.Services
A JSON service client implementation
public class JsonServiceClient
| parameter | description |
|---|---|
| baseUrl | The base url |
Public Members
| name | description |
|---|---|
| JsonServiceClient(…) | A JSON service client implementation |
| virtual Post<TResponse>(…) | Posts a request to a JSON service and returns the typed response. |
Protected Members
| name | description |
|---|---|
| BaseUrl { get; set; } | Base url for the client |
| cookies | Cookie container |
| InternalPost<TResponse>(…) | Posts to a JSON service, internal version |
Remarks
Creates an instance of JsonServiceClient for the passed baseUrl
See Also
- Source: JsonServiceClient.cs