Http
Namespace: MordhauBuddy.Core
Parent Module: Helpers
Http related helper fuctions
Nested types and modules
Module | Description |
Github
|
Collection of Github schema types
|
Functions and values
Function or value | Description |
httpError code errors
Signature: code:int -> errors:string -> string
|
Returns error code message
|
httpErrorMsg(resp)
Signature: resp:HttpResponse -> string
|
Gets the error message(s) from a HttpResponse if present
|
httpOk(resp)
Signature: resp:HttpResponse -> Result<string,string>
|
Evaluates HttpResponse to Ok or Error
|
httpStreamOk(resp)
Signature: resp:HttpResponseWithStream -> Result<(type),string>
|
|
paramBuilder(paramList)
Signature: paramList:ParamValues list -> string
|
Maps and encodes input list to GET query format
|
unwrapTextBody(body)
Signature: body:HttpResponseBody -> string
|
Converts a text HttpResponseBody to string
|