@@ -35,7 +35,7 @@ Handler function object.
3535There are two different Handler concepts, one concept for `Synchronous Servers `_
3636and another for `Asynchronous Servers `.
3737
38- TheSynchronusHandler concept for `Synchronous Servers `_ is described by the
38+ TheSynchronousHandler concept for `Synchronous Servers `_ is described by the
3939following table:
4040
4141---------------
@@ -145,7 +145,7 @@ API Documentation
145145The following sections assume that the following file has been included:
146146
147147..code-block ::c++
148-
148+
149149 #include <boost/network/include/http/server.hpp>
150150
151151And that the following typedef's have been put in place:
@@ -226,14 +226,14 @@ Constructor
226226To use the above supported named parameters, you'll have code that looks like the following:
227227
228228..code-block ::c++
229-
229+
230230 using namespace boost::network: :http; // parameters are in this namespace
231231 boost::asio: :io_service my_io_service;
232232 boost::network::utils: :thread_pool pool(2);
233233 handler handler_instance;
234234 async_server<handler> instance(_address="0.0.0.0", _port="80", _handler=handler_instance,
235235 _io_service=my_io_service, _thread_pool=pool,
236- _reuse_address=true);
236+ _reuse_address=true);
237237 instance.run();
238238
239239Public Members
@@ -270,8 +270,8 @@ helpful in certain simple situations.
270270
271271``response = http_server::response::stock_reply(status, body) ``
272272 Code like the above should go inside the handler's ``operator() `` overload.
273- The body parameter is an ``std::string ``. The status parameter is any of
274- the following values from the ``http_server::response `` enum
273+ The body parameter is an ``std::string ``. The status parameter is any of
274+ the following values from the ``http_server::response `` enum
275275 ``status_type ``:
276276
277277..code-block ::c++
@@ -313,7 +313,7 @@ which can be directly manipulated by the handler.
313313.. [# ]A header is a struct of type
314314 ``response_header<http::tags::http_server> ``. An instance always has the
315315 members ``name `` and ``value `` both of which are of type ``string_type ``.
316- .. [# ]``string_type `` is
316+ .. [# ]``string_type `` is
317317 ``boost::network::string<http::tags::http_server>::type ``.
318318
319319 Asynchronous Servers
@@ -358,7 +358,7 @@ synchronous server implementation.
358358The general pattern for using the ``async_server `` template is shown below:
359359
360360..code-block ::c++
361-
361+
362362 struct handler;
363363 typedef boost::network::http: :async_server<handler> http_server;
364364
@@ -367,7 +367,7 @@ The general pattern for using the ``async_server`` template is shown below:
367367 http_server::request const & req,
368368 http_server::connection_ptr connection
369369 ) {
370- // handle the request here, and use the connection to
370+ // handle the request here, and use the connection to
371371 // either read more data or write data out to the client
372372 }
373373 };