Streaming data from client with HTTP Post

后端 未结 2 1538
时光说笑
时光说笑 2021-01-17 15:28

I would like to stream data from the client to the server.

My application streams audio data to the server. I do not know how long the audio will be when I begin st

相关标签:
2条回答
  • 2021-01-17 15:53

    I can not find a client API that allows me to begin the POST

    You could always use a browser. Serverside it's just the same a a file upload.

    0 讨论(0)
  • 2021-01-17 15:56

    Going to answer my own question for those that come after.

    Here is a nice tutorial on streaming requests with Apache HttpClient

    Search for "Request Streaming:"

    http://hc.apache.org/httpclient-3.x/performance.html#Request_Response_entity_streaming

    0 讨论(0)
提交回复
热议问题