0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00
cowboy/examples/upload
Loïc Hoguin 6f7b59886e
Remove NumAcceptors argument from start_clear/tls
They are now cowboy:start_clear/3 and cowboy:start_tls/3.
The NumAcceptors argument can be specified via the
num_acceptor transport option. Ranch has been updated
to 1.4.0 to that effect.
2017-06-07 15:15:54 +02:00
..
priv Add a simple multipart upload example 2014-06-03 19:20:07 +02:00
src Remove NumAcceptors argument from start_clear/tls 2017-06-07 15:15:54 +02:00
Makefile Simplify specifying the Cowboy version in examples 2016-01-14 22:58:22 +01:00
README.asciidoc Simplify example instructions and fix broken examples 2016-01-14 20:00:50 +01:00
relx.config Add a simple multipart upload example 2014-06-03 19:20:07 +02:00

= Multipart upload example

To try this example, you need GNU `make` and `git` in your PATH.

To build and run the example, use the following command:

[source,bash]
$ make run

Then point your browser to http://localhost:8080

The uploaded file will be displayed in the shell directly.