FSharpGephiStreamer


RestfulAux

Namespace: FSharpGephiStreamer

Helper functions for requests to the Streamer server on the Gephi side

Nested types and modules

TypeDescription
Error

Represents error messages returned on error from the streamer server

Functions and values

Function or valueDescription
evalHttpResponseText response
Signature: response:HttpResponse -> Either<string,Error>

Evaluates a http request to the streamer server. Handles errors without exceptions by returning the Error type instead of throwing an exception.

generateDelRequest
Signature: string -> Either<HttpResponse,Error>

Generates an error-handled DELETE request

generateGetRequest
Signature: string -> Either<HttpResponse,Error>

Generates an error-handled GET request

generatePostRequest urlString
Signature: urlString:string -> string -> Either<HttpResponse,Error>

Generates an error-handled POST request

generatePutRequest urlString
Signature: urlString:string -> string -> Either<HttpResponse,Error>

Generates an error-handled PUT request

Fork me on GitHub