How to add your own scheme

earl edited this page Jan 17, 2013 · 2 revisions

If you want to add your own schemes to the binary, you can do it as follows:

  1. Add the protocol file name to src/mezz/boot-files.r, at the end where the protocols block is.

  2. In src/tools/make-host-init.r, in the files block, add your procotol after %mezz/prot-http.r.

  3. Do a clean rebuild:

     make clean
     make prep
     make
    

After that, your new binary should have the new scheme available.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.