mirror of
				https://github.com/SoPat712/YTLitePlus.git
				synced 2025-10-30 20:34:04 -04:00 
			
		
		
		
	added files via upload
This commit is contained in:
		
							
								
								
									
										28
									
								
								Tweaks/FLEX/Network/PonyDebugger/FLEXNetworkObserver.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								Tweaks/FLEX/Network/PonyDebugger/FLEXNetworkObserver.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| // | ||||
| //  FLEXNetworkObserver.h | ||||
| //  Derived from: | ||||
| // | ||||
| //  PDAFNetworkDomainController.h | ||||
| //  PonyDebugger | ||||
| // | ||||
| //  Created by Mike Lewis on 2/27/12. | ||||
| // | ||||
| //  Licensed to Square, Inc. under one or more contributor license agreements. | ||||
| //  See the LICENSE file distributed with this work for the terms under | ||||
| //  which Square, Inc. licenses this file to you. | ||||
| // | ||||
|  | ||||
| #import <Foundation/Foundation.h> | ||||
|  | ||||
| FOUNDATION_EXTERN NSString *const kFLEXNetworkObserverEnabledStateChangedNotification; | ||||
|  | ||||
| /// This class swizzles NSURLConnection and NSURLSession delegate methods to observe events in the URL loading system. | ||||
| /// High level network events are sent to the default FLEXNetworkRecorder instance which maintains the request history and caches response bodies. | ||||
| @interface FLEXNetworkObserver : NSObject | ||||
|  | ||||
| /// Swizzling occurs when the observer is enabled for the first time. | ||||
| /// This reduces the impact of FLEX if network debugging is not desired. | ||||
| /// NOTE: this setting persists between launches of the app. | ||||
| @property (nonatomic, class, getter=isEnabled) BOOL enabled; | ||||
|  | ||||
| @end | ||||
							
								
								
									
										1997
									
								
								Tweaks/FLEX/Network/PonyDebugger/FLEXNetworkObserver.m
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1997
									
								
								Tweaks/FLEX/Network/PonyDebugger/FLEXNetworkObserver.m
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										16
									
								
								Tweaks/FLEX/Network/PonyDebugger/LICENSE
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								Tweaks/FLEX/Network/PonyDebugger/LICENSE
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
|  | ||||
| PonyDebugger | ||||
| Copyright 2012 Square Inc. | ||||
|  | ||||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| you may not use this file except in compliance with the License. | ||||
| You may obtain a copy of the License at | ||||
|  | ||||
|    http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
| Unless required by applicable law or agreed to in writing, software | ||||
| distributed under the License is distributed on an "AS IS" BASIS, | ||||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| See the License for the specific language governing permissions and | ||||
| limitations under the License. | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Balackburn
					Balackburn