Hubwiz.com
|
Online Course
|
API Manual
Restify API Manual
Object(6)
Function(19)
Method(40)
Guide(23)
Event(6)
Property(27)
Object
server
req
res
jsonClient
stringClient
httpClient
Function
restify.createServer
restify.acceptParser
restify.authorizationParser
restify.CORS
restify.dateParser
restify.queryParser
restify.jsonp
restify.bodyParser
restify.requestLogger
restify.gzipResponse
restify.serveStatic
restify.trottle
restify.requestExpiry
restify.conditionalRequest
restify.AuditLogger
restify.defaultResponseHeaders
restify.createJsonClient
restify.createStringClient
restify.createClient
Method
server.head
server.get
server.put
server.post
server.del
server.router.render
server.address
server.listen
server.close
server.pre
server.use
req.header
req.accepts
req.is
req.isSecure
req.isChunked
req.isKeepAlive
req.log
req.getLogger
req.getQuery
req.startHandlerTimer
req.endHandlerTimer
res.header
res.charSet
res.cache
res.status
res.send
res.redirect
res.json
jsonClient.get
jsonClient.head
jsonClient.post
jsonClient.put
jsonClient.del
stringClient.get
stringClient.head
stringClient.post
stringClient.put
stringClient.del
client.basicAuth
Guide
Why use restify and not express?
About this guide
Conventions
Creating a Server
Common handlers: server.use()
Routing
Upgrade Requests
Content Negotiation
Error handling
Socket.IO
Server API
Bundled Plugins
Request API
Response API
DTrace
JsonClient
StringClient
HttpClient
Versioned Routes
HttpError
RestError
Events
Proxy
Event
NotFound
MethodNotAllowed
VersionNotAllowed
UnsupportedMediaType
after
uncaughtException
Property
server.certificate
server.key
server.formatters
server.log
server.name
server.spdy
server.version
server.handleUpgrades
server.httpsServerOptions
req.params
server.name
server.version
server.log
server.acceptable
server.url
req.time()
req.contentLength
req.contentType
req.href
req.log
req.id
req.path
res.code
res.contentLength
res.contentType
res.headers
res.id