Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
restify
Dynamic module restify
Index
Variables
CORS
defaultResponseHeaders
Modules
pre
Interfaces
Client
ClientOptions
HttpClient
Next
RequestHandler
ServerOptions
ThrottleOptions
addressInterface
Classes
BadDigestError
BadMethodError
BadRequestError
ConflictError
InternalError
InvalidArgumentError
InvalidContentError
InvalidCredentialsError
InvalidHeaderError
InvalidVersionError
MissingParameterError
NotAuthorizedError
Request
RequestExpiredError
RequestThrottledError
ResourceNotFoundError
Response
RestError
Server
WrongAcceptError
Functions
acceptParser
auditLogger
authorizationParser
bodyParser
conditionalRequest
createClient
createJsonClient
createServer
createStringClient
dateParser
fullResponse
gzipResponse
jsonp
queryParser
requestLogger
serveStatic
throttle
urlEncodedBodyParser
Variables
CORS
:
CORS
(
cors
?:
{ origins?: string[]; credentials?: boolean; headers?: string[]; }
)
:
RequestHandler
Parameters
cors?:
{ origins?: string[]; credentials?: boolean; headers?: string[]; }
optional
Returns
RequestHandler
public
ALLOW_HEADERS
:
Array<string>
public
credentials
:
boolean
public
origins
:
Array<string>
defaultResponseHeaders
:
any
Functions
acceptParser
(
parser
:
any
)
:
RequestHandler
Parameters
parser:
any
Returns
RequestHandler
auditLogger
(
options
?:
Object
)
:
Function
Parameters
options?:
Object
optional
Returns
Function
authorizationParser
(
)
:
RequestHandler
Returns
RequestHandler
bodyParser
(
options
?:
Object
)
:
RequestHandler
[]
Parameters
options?:
Object
optional
Returns
RequestHandler
[]
conditionalRequest
(
)
:
RequestHandler
[]
Returns
RequestHandler
[]
createClient
(
options
?:
ClientOptions
)
:
HttpClient
Parameters
options?:
ClientOptions
optional
Returns
HttpClient
createJsonClient
(
options
?:
ClientOptions
)
:
Client
Parameters
options?:
ClientOptions
optional
Returns
Client
createServer
(
options
?:
ServerOptions
)
:
Server
Parameters
options?:
ServerOptions
optional
Returns
Server
createStringClient
(
options
?:
ClientOptions
)
:
Client
Parameters
options?:
ClientOptions
optional
Returns
Client
dateParser
(
skew
?:
number
)
:
RequestHandler
Parameters
skew?:
number
optional
Returns
RequestHandler
fullResponse
(
)
:
RequestHandler
Returns
RequestHandler
gzipResponse
(
options
?:
Object
)
:
RequestHandler
Parameters
options?:
Object
optional
Returns
RequestHandler
jsonp
(
)
:
RequestHandler
Returns
RequestHandler
queryParser
(
options
?:
Object
)
:
RequestHandler
Parameters
options?:
Object
optional
Returns
RequestHandler
requestLogger
(
options
?:
Object
)
:
RequestHandler
Parameters
options?:
Object
optional
Returns
RequestHandler
serveStatic
(
options
?:
Object
)
:
RequestHandler
Parameters
options?:
Object
optional
Returns
RequestHandler
throttle
(
options
?:
ThrottleOptions
)
:
RequestHandler
Parameters
options?:
ThrottleOptions
optional
Returns
RequestHandler
urlEncodedBodyParser
(
options
?:
Object
)
:
RequestHandler
[]
Parameters
options?:
Object
optional
Returns
RequestHandler
[]
Globals
NodeJS
assert
buffer
child_process
cluster
crypto
dgram
dns
domain
events
fs
http
https
net
os
path
punycode
querystring
readline
repl
restify
restify.pre
stream
string_decoder
tls
tty
url
util
vm
zlib
CORS
defaultResponseHeaders
Client
ClientOptions
HttpClient
Next
RequestHandler
ServerOptions
ThrottleOptions
addressInterface
BadDigestError
BadMethodError
BadRequestError
ConflictError
InternalError
InvalidArgumentError
InvalidContentError
InvalidCredentialsError
InvalidHeaderError
InvalidVersionError
MissingParameterError
NotAuthorizedError
Request
RequestExpiredError
RequestThrottledError
ResourceNotFoundError
Response
RestError
Server
WrongAcceptError
acceptParser
auditLogger
authorizationParser
bodyParser
conditionalRequest
createClient
createJsonClient
createServer
createStringClient
dateParser
fullResponse
gzipResponse
jsonp
queryParser
requestLogger
serveStatic
throttle
urlEncodedBodyParser