View Source ow_dl_handler (overworld v2.0.0)

Summary

Functions

Initializes the handler and handles the request for the API package. Compiles the latest code, generates the client API and protocol files, creates a ZIP archive containing the files, and sends it as the response.

Functions

-spec init(cowboy_req:req(), any()) -> {ok, cowboy_req:req(), any()}.

Initializes the handler and handles the request for the API package. Compiles the latest code, generates the client API and protocol files, creates a ZIP archive containing the files, and sends it as the response.