mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
NSURLSession Reimplementation (#411)
* clang-format: Do not use tabs * Ignore clangd cache and compile_commands * NSBlockOperation: Fix memory leak * NSHTTPCookie: Fix expires date parsing * NSOperation: Remove all objects at end of execution * Reimplementation of NSURLSession * Update ChangeLog
This commit is contained in:
parent
9367c2d796
commit
07233534e6
50 changed files with 5370 additions and 7176 deletions
|
@ -271,6 +271,16 @@ GS_EXPORT_CLASS
|
|||
*/
|
||||
- (NSString *) valueForHTTPHeaderField: (NSString *)field;
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_VERSION_11_0, GS_API_LATEST)
|
||||
/**
|
||||
* Indicates whether the URL loading system assumes the host is HTTP/3 capable.
|
||||
*
|
||||
* This method returns the current assumption of the URL loading system regarding
|
||||
* the server's HTTP capabilities.
|
||||
*/
|
||||
- (BOOL) assumesHTTP3Capable;
|
||||
#endif
|
||||
|
||||
@end
|
||||
|
||||
|
||||
|
@ -327,6 +337,17 @@ GS_EXPORT_CLASS
|
|||
*/
|
||||
- (void) setValue: (NSString *)value forHTTPHeaderField: (NSString *)field;
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_VERSION_11_0, GS_API_LATEST)
|
||||
/**
|
||||
* Sets whether the URL loading system should assume the host is HTTP/3 capable.
|
||||
*
|
||||
* This method configures the URL loading system's assumptions about the
|
||||
* server's HTTP capabilities, optimizing the connection process if HTTP/3 is
|
||||
* supported.
|
||||
*/
|
||||
- (void) setAssumesHTTP3Capable: (BOOL)capable;
|
||||
#endif
|
||||
|
||||
@end
|
||||
|
||||
@protocol GSLogDelegate;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue