Package

com.seancheatham.graph.akka

http

Permalink

package http

Visibility
  1. Public
  2. All

Type Members

  1. case class HttpServer(graph: Graph, host: String = "localhost", port: Int = 8080) extends LazyLogging with Product with Serializable

    Permalink

    A class which instantiates an Akka-HTTP server wrapped around the given graph.

    A class which instantiates an Akka-HTTP server wrapped around the given graph. The server will operate at the given host address and port. The routes for the server provide basic CRUD operations for the nodes and edges in the given graph. The Graph's API will be used to perform the changes.

    graph

    The graph to wrap with the HTTP server

    host

    The server host to operate on

    port

    The server port to bind to

Value Members

  1. object Application extends App

    Permalink

    The default, command-line instance of the HTTP Server application.

    The default, command-line instance of the HTTP Server application. When run, a reference to the configured graph will be formed. From there, an HTTP Server will wrap the graph, and provide RESTful endpoints to read, write, and mutate the graph.

    For instructions, please see the documentation by running this application with the "-help" parameter

  2. object CustomMarshallers

    Permalink
  3. object Documentation

    Permalink
  4. object Router

    Permalink

    Helper object used for determining routes for Graph HTTP Servers

Ungrouped