okhttps icon indicating copy to clipboard operation
okhttps copied to clipboard

如艺术一般优雅,像 1、2、3 一样简单,前后端通用,轻量却强大的 HTTP 客户端(同时支持 WebSocket 与 Stomp 协议)

Results 19 okhttps issues
Sort by recently updated
recently updated
newest added

目前阿里已经有了fastjson2的新框架,建议该项目也新增支持。

repair #69 support try() AutoCloseable syntax

废止 **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3....

![image](https://user-images.githubusercontent.com/60637042/170814238-837f8c4a-1bba-4461-9de3-1993a35e7ab6.png) 首先这是我的代码部分 运行时候报错是这样的 ![image](https://user-images.githubusercontent.com/60637042/170814256-fa767827-c1c6-4f27-a883-ae6b33da1459.png) 那么请问如果我想在get请求里面添加一个json参数,比如这样, ![image](https://user-images.githubusercontent.com/60637042/170814342-1fa9bf87-3484-47dd-a1b3-fd42018ebb7c.png) 应该怎么实现呢

比如我的数据类型是这样的: ```json {"data":[ { "created_at":"Sat May 14 22:05:52 +0800 2022", "id": "4769148843065803", "disable_reply": 0, "comments":[ { "created_at":"Sat May 14 22:09:52 +0800 2022", "id": "4769148843065805", "disable_reply": 1, "comments":[] }, { "created_at":"Sat...

bug
enhancement

最近遇到一个问题 就是 一个URL 多次重定向,我该如何很方便的 取出 头中的重定向网址和 cookies

help wanted

E/AndroidRuntime: FATAL EXCEPTION: OkHttp Dispatcher Process: com.dppdkai.luckypandemo, PID: 10154 com.ejlchina.okhttps.internal.HttpException: WebSockt 连接异常: ws://myphp.com at com.ejlchina.okhttps.internal.WebSocketTask$MessageListener.onFailure(WebSocketTask.java:278) at okhttp3.internal.ws.RealWebSocket.failWebSocket(RealWebSocket.java:570) at okhttp3.internal.ws.RealWebSocket$1.onResponse(RealWebSocket.java:199) at okhttp3.RealCall$AsyncCall.execute(RealCall.java:174) at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:929) Caused...

help wanted

很多人估计都不知道application/json需要单独设置

documentation

```java HTTP http = HTTP.builder() .addMsgConvertor(new JacksonMsgConvertor()) .build(); HttpResult result = http.sync( "xxx") .addUrlPara(paramMap) .nothrow() .post(); HttpResult.Body body = result.getBody().cache(); Mapper mapper = body.toMapper(); Token token = mapper.toBean(Token.class); @Data public...