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

Description

Published: 27 Nov 2019

README

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) ->
  ()

Dependencies (9)

  1. dune >= "1.11"
  2. cryptokit >= "1.14"
  3. uri
  4. cohttp >= "2.4.0"
  5. base64
  6. sexplib0
  7. ppx_sexp_conv
  8. base >= "v0.11.0"
  9. ocaml >= "4.06.0"

Dev Dependencies

None

Used by (1)

  1. azblob-async

Conflicts

None

OCaml

Innovation. Community. Security.