org.apache.hc.core5.http.nio

## Interface RequestChannel

-     @Contract(threading=SAFE)
      public interface RequestChannel

  Abstract request channel.

  Implementations are expected to be thread-safe.

  Since:
    5.0

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `sendRequest(HttpRequest request, EntityDetails entityDetails, HttpContext context)` Sends a request through this channel.

- - ### Method Detail

    - #### sendRequest

          void sendRequest(HttpRequest request,
                         EntityDetails entityDetails,
                         HttpContext context)
                           throws HttpException,
                                  IOException

      Sends a request through this channel.
      Parameters:
        `request` - the outgoing request.
        `entityDetails` - the details of the entity enclosed in the request
        `context` - the actual execution context.
      Throws:
        `HttpException`
        `IOException`

Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.