graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hasura.Services.Network

Description

Network service provider.

This module defines a Service (see Note [Services]) that provides access to the network; for now, that only means providing a HTTP Manager. This is consequentlt a simple analogue to `(MonadReader r m, Has Manager r)`, but could be updated to either encompass other network utilities, or to provide a more restricted interface if deemed useful. Alternatively this could be removed altogether if all network calls were to be hidden behind more specific services.

Documentation

class Monad m => ProvidesNetwork m where Source #

Instances

Instances details
ProvidesNetwork AppM Source # 
Instance details

Defined in Hasura.App

ProvidesNetwork CacheBuild Source # 
Instance details

Defined in Hasura.RQL.DDL.Schema.Cache.Common

ProvidesNetwork m => ProvidesNetwork (CacheRWT m) Source # 
Instance details

Defined in Hasura.RQL.DDL.Schema.Cache

ProvidesNetwork m => ProvidesNetwork (MetadataT m) Source # 
Instance details

Defined in Hasura.RQL.Types.SchemaCache.Build

ProvidesNetwork m => ProvidesNetwork (Handler m) Source # 
Instance details

Defined in Hasura.Server.App

ProvidesNetwork m => ProvidesNetwork (TraceT m) Source # 
Instance details

Defined in Hasura.Services.Network

ProvidesNetwork m => ProvidesNetwork (ExceptT e m) Source # 
Instance details

Defined in Hasura.Services.Network

ProvidesNetwork m => ProvidesNetwork (ReaderT r m) Source # 
Instance details

Defined in Hasura.Services.Network

ProvidesNetwork m => ProvidesNetwork (StateT s m) Source # 
Instance details

Defined in Hasura.Services.Network

(Monoid w, ProvidesNetwork m) => ProvidesNetwork (WriterT w m) Source # 
Instance details

Defined in Hasura.Services.Network