<commit_before>session [![Build Status](https://secure.travis-ci.org/iron/session.png?branch=master)](https://travis-ci.org/iron/session)
====

> Sessioning middleware for the [Iron](https://github.com/iron/iron) web framework.

## Installation

To add this to your Iron server just add it as a dependency in your `./configure`


## Example Usage

See `examples`


## License

MIT<commit_msg>(doc) Updated README from template.<commit_after>session [![Build Status](https://secure.travis-ci.org/iron/session.png?branch=master)](https://travis-ci.org/iron/session)
====

> Sessioning middleware for the [Iron](https://github.com/iron/iron) web framework.

## Example

```rust
extern crate iron;
extern crate http;
use iron::{Iron, ServerT, Chain, Request, Response, Alloy};

fn main() {
    let mut server: ServerT = Iron::new();
    server.chain.link(hello_world); // Add middleware to the server's stack
    server.listen(::std::io::net::ip::Ipv4Addr(127, 0, 0, 1), 3000);
}

fn hello_world(_: &mut Request, res: &mut Response, _: &mut Alloy) {
    res.serve(::http::Ok, "Hello, world!");
}
```

## Overview

session is a part of Iron's [core bundle](https://github.com/iron/core).

- ...
- ...

## Installation

If you're using a `Cargo` to manage dependencies, just add session to the toml:

```toml
[dependencies.session]

git = "https://github.com/iron/session.git"
```

Otherwise, `cargo build`, and the rlib will be in your `target` directory.

## [Documentation](http://docs.ironframework.io/core/session)

Along with the [online documentation](http://docs.ironframework.io/core/session),
you can build a local copy with `make doc`.

## [Examples](/examples)

## Get Help

One of us ([@reem](https://github.com/reem/), [@zzmp](https://github.com/zzmp/),
[@theptrk](https://github.com/theptrk/), [@mcreinhard](https://github.com/mcreinhard))
is usually on `#iron` on the mozilla irc. Come say hi and ask any questions you might have.
We are also usually on `#rust` and `#rust-webdev`.
{'fraction_non_alphanumeric': 0.17277749874434958, 'fraction_numerical': 0.0055248618784530384, 'mean_word_length': 4.518005540166205, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6731542', 'n_tokens_mistral': 686, 'n_tokens_neox': 652, 'n_words': 183}