hlivy-1.0.1: Client library for the Apache Livy REST API

Copyright(C) 2019 Earnest Research
LicenseMIT
MaintainerDaniel Donohue <ddonohue@earnestresearch.com>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Network.Livy.Env

Contents

Description

 
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.