[][src]Crate platter

A simple utility to serve you files on a platter

platter works on both desktop and web, and returns a byte buffer of the file's contents. On desktop, load_file is backed by native file system APIs. On web, it is backed by an HTTP 'GET' request.

Functions

load_file

Create a Future that loads a file into an owned Vec of bytes