Hi,
On Sat, Sep 12, 2015 at 9:27 AM, Muhui Jiang <[email protected]> wrote:
> Does anyone know how to send the request at the same time without waiting
> for the former request's response. Many Thanks
Just send them in a loop without waiting for the responses:
for (int i = 0; i < 100; ++i)
{
HeadersFrame frame = ...;
session.newStream(headersFrame, new Promise.Adapter<Stream>(), new
Stream.Listener.Adapter());
}
That's it.
--
Simone Bordet
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users