IXWebSocket icon indicating copy to clipboard operation
IXWebSocket copied to clipboard

Can I use IXHttpClient to upload files to server?

Open kkseven opened this issue 2 years ago • 1 comments

Hi, I'm new in IXWebSocket.

Our project needs to use websocket and http client. IXWebSocket works fine, in addition, we need to upload some files to server using IXHttpClient.

I can download files from server by setting args->onChunkCallback, and then it will be callback while receiving file datas.

But I could't find any methods or settings to upload a file.

Did I missing something?

kkseven avatar Aug 15 '23 09:08 kkseven

Yes you can, usually you need to set the POST or PUT HTTP method to upload data.

bsergean avatar Aug 18 '23 15:08 bsergean