public class SlackHttpClient extends Object
| Constructor and Description |
|---|
SlackHttpClient() |
SlackHttpClient(okhttp3.OkHttpClient okHttpClient) |
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Response |
postForm(String url,
okhttp3.FormBody formBody) |
okhttp3.Response |
postJsonPostRequest(String url,
Object obj) |
public SlackHttpClient()
public SlackHttpClient(okhttp3.OkHttpClient okHttpClient)
public okhttp3.Response postForm(String url, okhttp3.FormBody formBody) throws IOException
IOExceptionpublic okhttp3.Response postJsonPostRequest(String url, Object obj) throws IOException
IOExceptionCopyright © 2016. All rights reserved.