Menu spray
Search docs NEW: Watch an intro talk on spray!
  • Home
  • Introduction
    • What is spray?
    • Getting Started
    • spray for Web Development
    • Other Resources
  • Documentation
    • 1.2.4 / 1.3.4
    • 1.1.4
    • API (snapshot)
  • Project Info
    • Current Versions
    • Migration from M8
    • Maven Repository
    • Contributing
    • Changelog
    • Credits
    • References
    • Sponsors
    • License
    • Community Projects
  • Blog
    • spray on the Raspberry Pi
    • spray 1.0-M8 / 1.1-M8 / 1.2-M8 released
    • Benchmarking spray
    • The Magnet Pattern
    • Welcome to the spray Blog
  • Contact
    • Mailing List
    • Twitter
    • Email
    • Commercial Support
  • Home /
  • Documentation /
  • 1.1.4 /
  • spray-can
  • 1.1.4
  • 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

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
© 2014 Typesafe, Inc.
Home| Introduction| Documentation| Project Info| Blog| Contact| Index
powered by spray

spray is no longer maintained and has been superseded by Akka HTTP.
Please check out the migration guide for help with the upgrade.
Commercial support is available from Lightbend.