Http

org.mbari.vars.migration.etc.methanol.Http
object Http

The Http object provides a simple interface for making HTTP GET requests using the JDK HttpClient.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Http.type

Members list

Value members

Concrete methods

def getAndSaveToFile(uri: URI, file: Path): Either[Throwable, Unit]
def getJson[T : Decoder](uri: String): Either[Throwable, T]
def getJson[T : Decoder](uri: URI): Either[Throwable, T]

Concrete fields

val Client: HttpClient