API Docs for:
Show:

SessionRequest Class

Defined in: lib/session.js:16
Module: SessionRequest
Parent Module: SaikuSession

SessionRequest handle the /session API endpoint

Constructor

SessionRequest

(
  • options
)

Defined in lib/session.js:16

Parameters:

  • options Object

    A hash of options for the SessionRequest instance

    • [host] String optional

      A host name for send API requests

    • [username] String optional

      A username for authenticating API requests

    • [password] String optional

      A password for authenticating API requests

Item Index

Methods

Properties

Methods

createSession

() public

Defined in lib/session.js:46

Create a session for the requests

Properties

_options

Object private

Defined in lib/session.js:27

Configuration options for the request

Default: {}