Method for multiplexing HTTP channels and terminal
摘要:
This application provides a method for multiplexing HTTP channels. The method includes: sending, by the terminal, a first HTTP request to a first server through a first HTTP channel, to request first data; after receiving a first HTTP response returned by the first server, receiving, through the first HTTP channel, a first part that is of the first data and that is sent by the first server; and if a size that is of the first data and that is carried in the first HTTP response is greater than a first threshold, generating a second HTTP request, and sending a second HTTP request to a second server through a second HTTP channel, to request a second part of the first data; and after receiving the first part of the first data, sending control signaling to the first server, to disconnect the first HTTP channel.
公开/授权文献
信息查询
0/0