Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-13172

Create Session object

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.9.1
    • Component/s: iOS Client

      Description

      Create a session object which could instanciate a new ASIHTTPRequest with predefined values, like server URL, repository, etc.

      A session should execute a request synchronously and asynchrnously, with blocks.

          NUXSession session = [NUXSession initWithServer: @"http://localhost:8080/nuxeo" login: @"Administrator" password: @"pwd"]; // Allow token auth ?
          session.server = @"";
          session.login = @"";
          session.password = @"";
          session.repository = @""; //default by default
          // We might delegate Authentification to an Ahtenticator (Basic, Portal, etc.) -> 2nd shot
          
          // Could be cool to expose Queue object, but not the ASIHTTP API
          [session queue]; // ASINetworkQueues object to track progress
          
          [session addDefaultSchema: @[@"", @""]];
          [session addDefaultCategory: @[@"", @""]];
      

        Attachments

          Activity

            People

            • Assignee:
              akervern Arnaud Kervern
              Reporter:
              akervern Arnaud Kervern
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: