Package 

Object TorHttp

  • All Implemented Interfaces:
    io.ktor.client.engine.HttpClientEngineFactory

    
    public class TorHttp
     implements HttpClientEngineFactory<TorHttpConfig>
                        

    An HttpClientEngine implementation that makes requests over the provided TorClient.

    The engine does not isolate individual connections from each other. It also does not isolate its usage from other Tor usage; construct it with a TorClient obtained from isolatedTorClient() if you need this.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static TorHttp INSTANCE
    • Method Summary

      Modifier and Type Method Description
      HttpClientEngine create(Function1<TorHttpConfig, Unit> block)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait