Social · IOS API REFERENCE
SLRequest
class · iOS 6.0+ · SDK 27.1
class SLRequest
Members (7)
init · iOS 6.0+init
TypeScriptstatic init(serviceType: (string) | null, requestMethod: SLRequestMethod, url?: (string) | null, parameters?: (NativeMap<unknown, unknown>) | null): SLRequest
Swift declarationinit!(forServiceType serviceType: String!, requestMethod: SLRequestMethod, url: URL!, parameters: [AnyHashable : Any]!)
method · iOS 6.0+addMultipartData
TypeScriptaddMultipartData(data?: (ArrayBuffer) | null, name?: (string) | null, type?: (string) | null, filename?: (string) | null): void
Swift declarationfunc addMultipartData(_ data: Data!, withName name: String!, type: String!, filename: String!)
method · iOS 6.0+perform
TypeScriptperform(handler?: (((arg0: (ArrayBuffer) | null, arg1: (_Foundation_HTTPURLResponse) | null, arg2: (NativeError) | null) => void)) | null): void
Swift declarationfunc perform(handler: SLRequestHandler!)
method · iOS 6.0+preparedURLRequest
TypeScriptpreparedURLRequest(): (_Foundation_URLRequest) | null
Swift declarationfunc preparedURLRequest() -> URLRequest!
get · iOS 6.0+url
TypeScriptget url(): (string) | null
Swift declarationvar url: URL! { get }
get · iOS 6.0+parameters
TypeScriptget parameters(): (NativeMap<unknown, unknown>) | null
Swift declarationvar parameters: [AnyHashable : Any]! { get }
get · iOS 6.0+requestMethod
TypeScriptget requestMethod(): SLRequestMethod
Swift declarationvar requestMethod: SLRequestMethod { get }
Skipped declarations
3 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
SLRequest.account
The iOS SDK compiler rejected this binding: reference to member 'account' cannot be resolved without a contextual type
SLRequest.account
The iOS SDK compiler rejected this binding: value of type 'SLRequest' has no member 'account'
SLRequest.init()
inherited init: cannot prove legal (class declares 2 custom initializers)
All Social types →