machinezone / IXWebSocket

websocket and http client and server library, with TLS support and very few dependencies

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can I use IXHttpClient to upload files to server?

kkseven opened this issue · 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?

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