Skip to content

hackney based WebDAV client for elixir applications

License

Notifications You must be signed in to change notification settings

mugimaru/webdavex

Repository files navigation

hex.pm version API Docs Build Status

Webdavex

hackney based WebDAV client.

Webdavex aimed to work with nginx implementation of WebDAV which means it does not support PROPFIND, PROPPATCH, LOCK and UNLOCK methods.

Installation

def deps do
  [
    {:webdavex, "~> 0.3.3"}
  ]
end

Quick start

defmodule MyApp.WebdavClient do
  use Webdavex, base_url: "https://webdav.host:888"
end

MyApp.WebdavClient.put("image.png", {:file, Path.absname("files/image.png")})

Refer to Webdavex.Client API docs for more details.