Lee Gillie CCP Active Member Licensed User Longtime User Nov 17, 2016 #1 Has anyone attempted to work with HTTP/2 (RFC7540) via B4A? I am particularly interested in utilizing unsolicited push from server to client. Has anyone developed an HTTP library that can utilize HTTP/2, and more specifically server pushes? It appears there has been some B4J work regarding HTTP/2, but not yet sure if I can readily utilize this work from B4A. Thanks for any advice or pointers you can share.
Has anyone attempted to work with HTTP/2 (RFC7540) via B4A? I am particularly interested in utilizing unsolicited push from server to client. Has anyone developed an HTTP library that can utilize HTTP/2, and more specifically server pushes? It appears there has been some B4J work regarding HTTP/2, but not yet sure if I can readily utilize this work from B4A. Thanks for any advice or pointers you can share.
I inakigarm Well-Known Member Licensed User Longtime User Nov 17, 2016 #2 OkHttp library seems to support HTTP/2 (don't know if wrapped version supports too) and b4J server too (your link) Upvote 0
OkHttp library seems to support HTTP/2 (don't know if wrapped version supports too) and b4J server too (your link)
Erel B4X founder Staff member Licensed User Longtime User Nov 18, 2016 #3 Http/2 is supported by OkHttp. However the push feature is not supported. You can use WebSockets for this. Upvote 0
Http/2 is supported by OkHttp. However the push feature is not supported. You can use WebSockets for this.