Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-5178

THttpClient should work without specifying host

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.13.0
    • 0.14.0
    • C++ - Library
    • None

    Description

      TheĀ constructors for THttpClient require specifying a `host`. However not all supported socket types would require a host. I.e. when using a Unix domain socket, the `host` property does not convey additional information, as the socket only works on localhost. The constructor of the socket (the underlying transport) does not require host.

      It would be nice if there was a constructor that avoids host (making it optional).

      Attachments

        Activity

          People

            emmenlau Mario Emmenlauer
            emmenlau Mario Emmenlauer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: