Class OkHttpClientDemo
java.lang.Object
org.newsclub.net.unix.demo.okhttp.OkHttpClientDemo
Connects to
/tmp/junixsocket-http-server.sock and performs an http request over that
socket, using the OkHttp HTTP client library.
If that socket is bound by NanoHttpdServerDemo, the expected output is "Hello world".- Author:
- Christian Kohlschütter
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OkHttpClientDemo
public OkHttpClientDemo()
-
-
Method Details
-
main
- Throws:
IOException
-