Post

Replies

Boosts

Views

Activity

Is CFHTTPMessage support http2?
I use the CFNetwork API to create httpmessage like bellowCFHTTPMessageCreateRequest(CFAllocatorRef __nullable alloc, CFStringRef requestMethod, CFURLRef url, CFStringRef httpVersiowhen I passed kCFHTTPVersion1_1 to the httpVersion param, it work fine. But not with kCFHTTPVersion2_0.And then I found the document for the httpVersion param described asThe HTTP version for this message. Pass kCFHTTPVersion1_0 or kCFHTTPVersion1_1.So, Is it the CFHTTPMessageCreateRequest api can not pass kCFHTTPVersion2_0?
1
0
501
Nov ’19