vibe.d beta banner
get vibe.d
0.7.30

Module vibe.web.rest

Automatic REST interface and client code generation facilities.

Functions

Name Description
generateRestJSClient Generates JavaScript code to access a REST interface from the browser.
registerRestInterface Registers a REST interface and connects it the the given instance.
serveRestJSClient Returns a HTTP handler delegate that serves a JavaScript REST client.

Classes

Name Description
RestInterfaceClient Implements the given interface by forwarding all public methods to a REST server.
RestInterfaceSettings Encapsulates settings used to customize the generated REST interface.

Structs

Name Description
Collection Models REST collection interfaces using natural D syntax.

Aliases

Name Type Description
after Allows processing the return value of a handler method and the request/response objects.
before Allows processing the server request/response before the handler method is called.
Authors

Sönke Ludwig, Михаил Страшун

Copyright

© 2012-2016 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.