Coder Social home page Coder Social logo

Comments (3)

lws-team avatar lws-team commented on June 10, 2024

The provided minimal examples are the only way we can really communicate about use of lws.

I can't build or test what you pasted above.

For the mounts, pay attention to setting mountpoint_len correctly. It's the length of the mountpoint.

CALLBACK_HTTP coming twice will be normal for a browser, it wants to see the icon of the page as well as the index.html. You can look at *in on the callback as a (const char *) to see the url path.

from libwebsockets.

ffreality avatar ffreality commented on June 10, 2024

Hi, thank you very much for your answer, I appreciate it.
I am curious about how can I get request body and headers ?

from libwebsockets.

lws-team avatar lws-team commented on June 10, 2024

There are minimal examples that show how to do various scenarios including those. So I don't have to find time to explain the same things over and over.

from libwebsockets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.