Suave.Utils Namespace

Type/Module Description

ASCII

This module provide convenience functions for working with ASCII strings. It's one of the few public Suave Util modules. It is not recommended to use this module outside of pure machine-to-machine communication, as people speak more languages then US english, like Mandarin, Swedish or Vietnamese, which cannot be represented in ASCII.

Async

AsyncExtensions

For F# 3.0, you can open this module to get extensions for Async<'a>: - Support for bind on Task<'a> in async{} - Async.WithTimeout : TimeSpan * Async<'a> -> _ - Async.AsyncRaise : exn -> _ - Async.AwaitTask : Task -> _ For F# 4.0 these things are mostly implemented, so you can choose not to open this module.

AsyncResultCell<'T>

Haskell's TVar but without the STM. You can use this for your programs; it performs a non-blocking wait for a single value. Use AwaitTimeout to get its contained result as an 'T option

BitOperations

BlockingAgentMessage<'T>

BlockingQueueAgent<'T>

Agent-based implementation of producer/consumer problem

Choice

Collections

A module for composing the applicatives.

Compression

Crypto

Small crypto module that can do HMACs and generate random strings to use as keys, as well as create a 'cryptobox'; i.e. a AES256+HMACSHA256 box with compressed plaintext contents so that they can be easily stored in cookies.

CultureInfoCache

Hack to get around non availability of GetCultures on .NET Core

Option

Parse

RangedStream

An implementation of Stream that returns only a subset of the inner Stream

ThreadSafeRandom