Hi,
You are probably looking for onion_handler_export_local_new if using the c api. If you are using c++, you'll want to look at Onion::StaticHandler. Those methods will let you serve files from the filesystem. Another option is to use opack to embed the files in your executable.
Zack
--
You received this message because you are subscribed to the Google Groups "onion-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onion-dev+...@coralbits.com.
To post to this group, send email to onio...@coralbits.com.
Visit this group at https://groups.google.com/a/coralbits.com/group/onion-dev/.
For more options, visit https://groups.google.com/a/coralbits.com/d/optout.