Hello,

I am trying to write an HTTP/2 client which takes a file, containing a
list of URLs i.i resources to be fetched, as an argument. Previously I
coded an HTTP/1 client that does this asynchronously:

<goog_679723256>
Asynchronous requests code snippet
<https://gist.github.com/s0j0urn/5289027e801ec14c82e6>


I need to do something similar for HTTP/2 client as well but it needs to
handle pushed resources as well. As per Simone's comment here:
http://stackoverflow.com/questions/30010016/jetty-http-2-client-receive-server-push-example
,
the generic HTTP API doesn't support receiving pushed resources.

Now if I use lowlevel HTTP2CLIENT (because the client should receive pushed
resources), is there any way that I can do asynchronous requests over the
same connection, maintaining the requirement of only one TCP connection per
domain, and still handling resources pushed by Jetty server.

I have gone through the API but do not understand yet how I can go about
this.

Will you please provide some guidance or possible directions to look into.

Thank You.
_______________________________________________
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

Reply via email to