All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.crldev.elrondspringbootstarterreactive.client.ErdProxyClient Maven / Gradle / Ivy

Go to download

A SpringBoot Starter solution designed to ensure easy and efficient integration with the Elrond Network using a Reactive API layer.

The newest version!
package software.crldev.elrondspringbootstarterreactive.client;

import reactor.core.publisher.Mono;

/**
 * Proxy client used for interaction with Elrond Gateway
 *
 * @author carlo_stanciu
 */
public interface ErdProxyClient {

    /**
     * Used for GET HTTP method
     *
     * @param uri - resource URI
     * @param responseType - response class type object type for deserialization
     * @param  - response object
     * @return - instance of response object T
     */
     Mono get(String uri, Class responseType);

    /**
     * Used for POST HTTP method
     *
     * @param uri - resource URI
     * @param payload - request body
     * @param responseType - response class type object type for deserialization
     * @param  - response object
     * @param 

- payload object * @return - instance of response object T */ Mono post(String uri, P payload, Class responseType); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy