https://linen.dev logo
Title
k

Karol Dowbecki

03/28/2023, 6:20 PM
I'm trying to use WireMock to stub a response for Java HttpClient that expects a HTTP/2 server. Does WireMock support HTTP/2, either h2 or h2c?
t

Tom

03/28/2023, 7:17 PM
Hi @Karol Dowbecki, yes WireMock has HTTP/2 enabled (both encrypted and plain text) when you enable HTTPS by setting a port number for it.
k

Karol Dowbecki

03/28/2023, 8:03 PM
@Tom thank you, it works when https:// is used!
👍 2