jxa-types
    Preparing search index...

    Interface NSURLSession

    interface NSURLSession {
        dataTaskWithURLCompletionHandler: (
            request: NSURL,
            completionHandler: (
                data: NSData,
                response: NSURLResponse,
                error: NSError,
            ) => void,
        ) => NSDataTask;
        js: object;
        getProperty(key: string): any;
        isNil(): boolean;
        setProperty(key: string, value: any): any;
    }

    Hierarchy (View Summary)

    Index

    Properties

    dataTaskWithURLCompletionHandler: (
        request: NSURL,
        completionHandler: (
            data: NSData,
            response: NSURLResponse,
            error: NSError,
        ) => void,
    ) => NSDataTask
    js: object

    Methods

    • Parameters

      • key: string

      Returns any

    • Returns boolean

    • Parameters

      • key: string
      • value: any

      Returns any