mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Merge changes for NSURLSession from EngageHub (formerly Brainstorm).
This commit is contained in:
parent
d015cebbf3
commit
1b7bf26bea
70 changed files with 7980 additions and 192 deletions
|
@ -283,6 +283,25 @@ typedef NSUInteger NSURLRequestCachePolicy;
|
|||
|
||||
@end
|
||||
|
||||
@protocol GSLogDelegate;
|
||||
@interface NSMutableURLRequest (GNUstep)
|
||||
|
||||
/** Sets a flag to turn on low level debug logging for this request and the
|
||||
* corresponding response. The previous vaue of the setting is returned.
|
||||
*/
|
||||
- (int) setDebug: (int)d;
|
||||
|
||||
/** Sets a delegate object to override logging of low level I/O of the
|
||||
* request as it is sent and the corresponding response as it arrives.<br />
|
||||
* The delegate object is not retained, so it is the responsibility of the
|
||||
* caller to ensure that it persists until all I/O has completed.<br />
|
||||
* This has no effect unless debug is turned on, but if debug is turned on
|
||||
* it permits the delegate to override the default behavior of writing the
|
||||
* data to stderr.
|
||||
*/
|
||||
- (id<GSLogDelegate>) setDebugLogDelegate: (id<GSLogDelegate>)d;
|
||||
@end
|
||||
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue