Ocsigen

This is a preliminary version of the documentation. Help us to improve it by filling tickets. We are looking for native english speakers to proof read the documentation. Contact us!

Ocsigen - Reference manual

Ocsigen

Persistent data, writing in the logs, configuration file extension, Xhtml pretty printing


Ocsipersist
Persistent data on hard disk.
Messages
Writing messages in the logs
Parseconfig
Config file parsing
Simplexmlparser
Basic camlp4 parser for xml
Xhtmlpretty
XHTML pretty printing

Extending Ocsigen


Extensions
Writing extensions for Ocsigen
Ocsiheaders
Getting informations from HTTP header.
Predefined_senders
Functions to create results for various kinds of documents
Http_frame
This table is to store cookie values for each path.
Http_client
Using Ocsigen as a HTTP client
Http_com
Who can raise the exceptions:R: receiverr: receiver streamS: sender

Lwt


Lwt
Module Lwt: cooperative light-weight threads.
Lwt_unix
Module Lwt_unix: thread-compatible system calls
Lwt_chan
Lwt_ssl
Lwt_util
Concurrency
Lwt_lib
Cooperative getaddrinfo with cache (using Preemptive.detach)
Lwt_timeout
set the default handler for exception occurring after a timeout.
Preemptive
This module allows to mix preemptive threads with Lwt cooperative threads.

Eliom

Main modules


Eliomservices
This module allows to define services.
Eliomparameters
This module defines the values used to declare the type of service parameters.
Eliomsessions
This module contains the functions you need to get (or set) information about the request or the session.

Generating pages with OcamlDuce


Eliomduce
A module to generate pages using OCamlduce
Xhtml1_strict
This interface corresponds to the XHTML 1.0 Strict DTD, for Ocamlduce.
Eliomducetools
Predefined boxes for Eliom

Generating pages typed with polymorphic variants


Eliompredefmod.Xhtml
Eliom forms and service registration functions for XHTML
XHTML
Typesafe constructors for XHTML 1.1 documents.
Xhtmltypes
XHTML types with variants.
Eliomtools
Predefined boxes for Eliom

Other kinds of pages


Eliompredefmod
This modules contains predefined modules for generating forms and registering handlers, for several types of pages: XHTML pages typed with polymorphic variants, untyped (text) pages, actions, redirections, files ...

Creating your own kinds of pages


Eliommkforms
This module defines the functor to use to creates modules generating form widgets for your own types of pages.
Eliommkreg
This module defines the functor to use to creates modules generating functions to register services for your own types of pages.
Xhtmlpretty
XHTML pretty printing

Indexes

Index of types
Index of exceptions
Index of values
Index of modules
Index of module types