共用方式為


SFSafariExtensionHandler.AdditionalRequestHeaders 方法

定義

[Foundation.Export("additionalRequestHeadersForURL:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, 4, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual void AdditionalRequestHeaders (Foundation.NSUrl url, Action<Foundation.NSDictionary<Foundation.NSString,Foundation.NSString>> completionHandler);
abstract member AdditionalRequestHeaders : Foundation.NSUrl * Action<Foundation.NSDictionary<Foundation.NSString, Foundation.NSString>> -> unit
override this.AdditionalRequestHeaders : Foundation.NSUrl * Action<Foundation.NSDictionary<Foundation.NSString, Foundation.NSString>> -> unit

參數

url
NSUrl
completionHandler
Action<NSDictionary<NSString,NSString>>
屬性

適用於