Package foundation.icon.icx
Interface Provider
-
- All Known Implementing Classes:
HttpProvider
public interface Provider
TheProvider
class transports the request and receives the response.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> Request<T>
request(Request request, RpcConverter<T> converter)
Prepares to execute the request
-
-
-
Method Detail
-
request
<T> Request<T> request(Request request, RpcConverter<T> converter)
Prepares to execute the request- Type Parameters:
T
- the return type- Parameters:
request
- the request to sendconverter
- the converter for the response data- Returns:
- a
Request
object to be executed
-
-