package azblob

  1. Overview
  2. Docs
A trivial Azure Blob Storage interface for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

0.1.0.tar.gz
md5=26444ef8c1cc8ff87207730fe794105f
sha512=fb649ecaa4d8d335677cadcead11b81944b2b4502b61be63b04a7030148000d127f11ff5958ac580f448e9e64c3a0be1bbe193ca6dea4a12d9565123a8d3d590

README.md.html

Azblob -- A trivial Azure Blob Storage interface for OCaml

Usage

open! Core
open! Async
open! Cohttp
open! Cohttp_async

let example () =
  let conn = Azblob.Conn.parse_exn "<your Blob Storage connection string here>" in
  let headers = Header.of_list ["content-type", "text/plain"] in
  let path = "/your-container/your-blob.txt" in
  let body = Body.of_string "Hello, world.\n" in
  Azblob_async.put_blob conn ~headers ~path ~body
  >>= fun (_res, _body) ->
  ()
OCaml

Innovation. Community. Security.