Package

de.heikoseeberger

accessus

Permalink

package accessus

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. accessus
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type IndexedSeq[+A] = scala.collection.immutable.IndexedSeq[A]

    Permalink
  2. type Iterable[+A] = scala.collection.immutable.Iterable[A]

    Permalink
  3. type Seq[+A] = scala.collection.immutable.Seq[A]

    Permalink
  4. type Traversable[+A] = scala.collection.immutable.Traversable[A]

    Permalink

Value Members

  1. object Accessus

    Permalink

    Provides ways to wrap a route or request-response handler in a new handler which also streams pairs of enriched request and response to an access log sink:

    Provides ways to wrap a route or request-response handler in a new handler which also streams pairs of enriched request and response to an access log sink:

    +------------------------------------------------------------------------------------+
    |                                                                                    |
    |        +-----------+      +-----------+      +-----------+      +-----------+      |
    |   +--->○ enrichReq ○----->○   unzip   ○----->○  handler  ○----->○  bcastRes ○--+   |
    |   |    +-----------+      +-----○-----+      +-----------+      +-----------+  |   |
    |   |                             |                                     |        |   |
    ○---+                             |                                     |        +-->○
    |                                 v                                     |            |
    |        +-----------+      +-----○-----+                               |            |
    |        | accessLog ○<-----○    zip    ○<------------------------------+            |
    |        +-----------+      +-----------+                                            |
    |                                                                                    |
    +------------------------------------------------------------------------------------+

    Example:

    import Accessus._
    Http().bindAndHandle(
     route.withAccessLog(Sink.foreach { case ((req, t), res) => ??? }),
     "0.0.0.0",
     8000
    )

Inherited from AnyRef

Inherited from Any

Ungrouped