hlivy-1.0.0: Client library for the Apache Livy REST API.

Safe HaskellNone
LanguageHaskell2010

Network.Livy.Env

Contents

Synopsis

Creating an environment

data Env Source #

Environment required to make requests to Livy.

Constructors

Env 

Fields

class HasEnv a where Source #

Minimal complete definition

environment

Methods

environment :: Lens' a Env Source #

envManager :: Lens' a Manager Source #

Manager used to create and manage HTTP connections.

envHost :: Lens' a ByteString Source #

The host name.

envPort :: Lens' a Int Source #

The port number.

newEnv :: MonadIO m => ByteString -> Int -> m Env Source #

Creates a new environment with a new Manager with default settings.