Метод | Описание | |
---|---|---|
JsonRestServices ( ) : System |
Initializes a new instance of the JsonRestServices class with the default JSON string serializer, retry logic, and URL builder.
|
|
JsonRestServices ( IRequestLogger requestLogger ) : System |
Initializes a new instance of the JsonRestServices class with the specified request logger and the default JSON string serializer and URL builder.
|
|
JsonRestServices ( IRequestLogger logger, HttpStatusCode>.IRetryLogic |
Initializes a new instance of the JsonRestServices class with the specified logger, retry logic, URI builder, and string serializer.
|
public JsonRestServices ( IRequestLogger requestLogger ) : System | ||
requestLogger | IRequestLogger | The logger to use for requests. Specify |
Результат | System |
public JsonRestServices ( IRequestLogger logger, HttpStatusCode>.IRetryLogic |
||
logger | IRequestLogger | The logger to use for requests. Specify |
retryLogic | HttpStatusCode>.IRetryLogic | The retry logic to use for REST operations. |
urlBuilder | IUrlBuilder | The URL builder to use for constructing URLs with query parameters. |
stringSerializer | IStringSerializer | The string serializer to use for requests from this service. |
Результат | System |