Interface Router

  • All Known Implementing Classes:
    DefaultRouter

    public interface Router
    • Method Detail

      • exchange

        <T> reactor.core.publisher.Mono<T> exchange​(DiscordRequest<T> request)
        Queues a request for execution in the appropriate request stream according to the request's bucket.
        Type Parameters:
        T - The request's response type.
        Parameters:
        request - The request to queue.
        Returns:
        A mono that receives signals based on the request's response.