Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Runs the server using the default zio-http server configuration on the specified port. This is meant as a convenience method for getting started quickly
Runs the server using the default zio-http server configuration on the specified port. This is meant as a convenience method for getting started quickly
Value parameters
- apiPath
-
The route to serve the API on, e.g.,
/api/graphql
- graphiqlPath
-
Optionally define a route to serve the GraphiQL UI on, e.g.,
/graphiql
- port
-
The port to serve the API on
- uploadPath
-
The route where files can be uploaded, e.g., /upload/graphql. If None, uploads will be disabled.
- webSocketPath
-
The path where websocket requests will be set. If None, websocket-based subscriptions will be disabled.
Attributes
Converts this adapter to an HttpApp
serving the GraphQL API at the specified path.
Converts this adapter to an HttpApp
serving the GraphQL API at the specified path.
Value parameters
- apiPath
-
The path where the GraphQL API will be served.
- graphiqlPath
-
The path where the GraphiQL UI will be served. If None, GraphiQL will not be served.
- uploadPath
-
The path where files can be uploaded. If None, uploads will be disabled.
- webSocketPath
-
The path where websocket requests will be set. If None, websocket-based subscriptions will be disabled.
Attributes
Concrete fields
Converts this adapter to a QuickHandlers which contains zio.http.RequestHandlers for manually constructing zio-http routes
Converts this adapter to a QuickHandlers which contains zio.http.RequestHandlers for manually constructing zio-http routes
Attributes
Deprecated fields
Attributes
- Deprecated
- true