Skip to content

Commit 728070c

Browse files
committed
Allow to send requests using the HTTP/3 protocol
1 parent 3b32ae9 commit 728070c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Request.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,7 @@ public function getOptions() : array
641641
Protocol::HTTP_1_1 => \CURL_HTTP_VERSION_1_1,
642642
Protocol::HTTP_2_0 => \CURL_HTTP_VERSION_2_0,
643643
Protocol::HTTP_2 => \CURL_HTTP_VERSION_2,
644+
Protocol::HTTP_3 => \CURL_HTTP_VERSION_3,
644645
default => throw new InvalidArgumentException(
645646
'Invalid Request Protocol: ' . $this->getProtocol()
646647
)

0 commit comments

Comments
 (0)