Open RahilRK opened 3 years ago
with a response code and description you mean the option to send a data body along with the close action? I'm not sure about the meaning of the okHttp rescode and description because that's a different specification but what I can do is to add the option to send data inside the close frame, and your app will be responsible of giving a meaning for that data
webSocket.close(RES_CODE,description); This is possible in okHtttp, is it possible with this library...?