spray
latest
  • Introduction
  • Documentation
    • spray-caching
    • spray-can
      • Dependencies
      • Installation
      • Configuration
      • HTTP Server
      • HTTP Client APIs
      • Common Behavior
      • Examples
    • spray-client
    • spray-http
    • spray-httpx
    • spray-io
    • spray-routing
    • spray-servlet
    • spray-testkit
    • spray-util
  • Project Info
  • Blog
  • Contact
spray
  • Docs »
  • Documentation »
  • spray-can
  • Edit on GitHub

spray-can

The spray-can module provides a low-level, low-overhead, high-performance HTTP server and client built on top of spray-io. Both are fully asynchronous, non-blocking and built 100% in Scala on top of Akka. Since their APIs are centered around Akka abstractions such as Actors and Futures they are very easy to integrate into your Akka-based applications.

  • Dependencies
  • Installation
  • Configuration
  • HTTP Server
    • Design Philosophy
    • Basic Architecture
    • Starting
    • Stopping
    • Message Protocol
      • Request-Response Cycle
      • Chunked Requests
      • Chunked Responses
      • Request Timeouts
      • Closed Notifications
      • Server Statistics
    • HTTP Headers
    • HTTP Pipelining
    • SSL Support
  • HTTP Client APIs
    • Connection-level API
      • Opening HTTP Connections
      • Request-Response Cycle
      • Closing Connections
      • Timeouts
    • Host-level API
      • Starting an HttpHostConnector
      • Using an HttpHostConnector
      • Retrying a Request
      • Connector Shutdown
    • Request-level API
    • Basic API Structure
    • Chunked Requests
    • Chunked Responses
    • HTTP Headers
    • SSL Support
    • Redirection Following
      • Which redirects are followed?
  • Common Behavior
    • Closing Connections
    • ACKed Sends
  • Examples
    • simple-http-client
    • simple-http-server
    • server-benchmark
Next Previous

© Copyright 2011-2015 spray.io.. Revision 76ab89c2.

Built with Sphinx using a theme provided by Read the Docs.