Class OkHttpClientTIPCDemo
java.lang.Object
org.newsclub.net.unix.demo.okhttp.OkHttpClientTIPCDemo
Connects to TIPC service 8080.1 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 from
<hostname>" (start NanoHttpdServerDemo with --url tipc://8080.1.- Author:
- Christian Kohlschütter
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OkHttpClientTIPCDemo
public OkHttpClientTIPCDemo()
-
-
Method Details
-
main
- Throws:
IOExceptionInterruptedException
-