https://github.com/mugimaru/webdavex
hackney based WebDAV client for elixir applications
https://github.com/mugimaru/webdavex
elixir webdav webdav-client
Last synced: 6 months ago
JSON representation
hackney based WebDAV client for elixir applications
- Host: GitHub
- URL: https://github.com/mugimaru/webdavex
- Owner: mugimaru
- License: mit
- Created: 2018-09-08T21:54:54.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-11-03T12:09:38.000Z (over 2 years ago)
- Last Synced: 2025-04-14T01:15:01.569Z (about 1 year ago)
- Topics: elixir, webdav, webdav-client
- Language: Elixir
- Size: 39.1 KB
- Stars: 4
- Watchers: 0
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://hex.pm/packages/webdavex)
[](https://hexdocs.pm/webdavex/)
[](https://travis-ci.org/mugimaru73/webdavex)
# Webdavex
[hackney](https://github.com/benoitc/hackney) based WebDAV client.
Webdavex aimed to work with [nginx implementation of WebDAV](https://nginx.org/en/docs/http/ngx_http_dav_module.html)
which means it does not support `PROPFIND`, `PROPPATCH`, `LOCK` and `UNLOCK` methods.
## Installation
```elixir
def deps do
[
{:webdavex, "~> 0.3.3"}
]
end
```
## Quick start
```elixir
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](https://hexdocs.pm/webdavex/Webdavex.Client.html) API docs for more details.