From 8fa52d6d93a9c60f5a09b5fd1c80b3a9c35046d0 Mon Sep 17 00:00:00 2001 From: lpw Date: Mon, 15 Apr 2024 11:25:12 +0800 Subject: [PATCH] 提交3.18.0 --- frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULNetwork.h | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULNetwork.h b/frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULNetwork.h index 0e75ae5..8631b8b 100644 --- a/frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULNetwork.h +++ b/frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULNetwork.h @@ -75,6 +75,16 @@ usingBackgroundSession:(BOOL)usingBackgroundSession completionHandler:(GULNetworkCompletionHandler)handler; +/// Compresses and sends a POST request with the provided headers and data to the URL. The session +/// will be background session if usingBackgroundSession is YES. Otherwise, the POST session is +/// default session. Returns a session ID or nil if an error occurs. +- (NSString *)postURL:(NSURL *)url + headers:(NSDictionary *)headers + payload:(NSData *)payload + queue:(dispatch_queue_t)queue + usingBackgroundSession:(BOOL)usingBackgroundSession + completionHandler:(GULNetworkCompletionHandler)handler; + /// Sends a GET request with the provided data to the URL. The session will be background session /// if usingBackgroundSession is YES. Otherwise, the GET session is default session. Returns a /// session ID or nil if an error occurs. -- Gitblit v1.8.0