@bidi/cordova-plugin-httpd-webserver

Cordova Plugin to run a http web server in Android and ios

Usage no npm install needed!

<script type="module">
  import bidiCordovaPluginHttpdWebserver from 'https://cdn.skypack.dev/@bidi/cordova-plugin-httpd-webserver';
</script>

README

Httpd: Web Server embebido en Cordova

Plataformas Soportadas:

  • iOS
  • Android

¿Como agregar Httpd a un proyecto?

Agregar desde un repositorio (npm):

    cordova plugin add cordova-plugin-httpd-webserver

Agregar desde un repositorio (Gitlab):

    cordova plugin add https://gitlab.com/bidi2020-grp/cordova-plugin-httpd-webserver.git

Javascript APIs

startServer( options, success_callback, error_callback );

stopServer( success_callback, error_callback );

getURL( success_callback, error_callback );

getLocalPath( success_callback, error_callback );

Example code: (read the comments)

    //Proximamente