Uses of Interface
org.moera.lib.node.NodeApiClient.ResponseConsumer
Packages that use NodeApiClient.ResponseConsumer
-
Uses of NodeApiClient.ResponseConsumer in org.moera.lib.node
Methods in org.moera.lib.node with parameters of type NodeApiClient.ResponseConsumerModifier and TypeMethodDescriptionvoid
NodeApiClient.call
(String location, QueryParam[] params, String method, Object body, NodeApiClient.ResponseConsumer responseConsumer) Executes a request to the node API with the specified parameters.void
NodeApiClient.call
(String location, QueryParam[] params, String method, okhttp3.RequestBody requestBody, NodeApiClient.ResponseConsumer responseConsumer) Executes a request to the node API with the specified parameters.void
MoeraNode.getPrivateMedia
(String id, Integer width, Boolean download, NodeApiClient.ResponseConsumer responseConsumer) Get media file content (returned in the response body).void
MoeraNode.getPublicMedia
(String id, Integer width, Boolean download, NodeApiClient.ResponseConsumer responseConsumer) Get media file content (returned in the response body).void
MoeraNode.proxyMedia
(String url, NodeApiClient.ResponseConsumer responseConsumer) Open the URL passed in the parameters and pass to the client the media file returned by the server.