HTTP module #972
Replies: 12 comments
-
Networking is planned for the core library, this includes http. |
Beta Was this translation helpful? Give feedback.
-
@gingerBill is it already in the process? I would like to help. |
Beta Was this translation helpful? Give feedback.
-
@m-henderson I've started binding Winsock2 with the intent of building HTTP support on top There is already a Berkeley sockets binding. See the link at https://github.com/odin-lang/odin-libs I plan to take Winsock and the Berkeley sockets and make a platform-agnostic socket library, then build out HTTP support on top. I also left some more details as an issue on the Hucelia repo. If there's a specific way you'd like to help out in this let me know here or on the Odin Discord server. |
Beta Was this translation helpful? Give feedback.
-
@bpunsky thanks pal! |
Beta Was this translation helpful? Give feedback.
-
I'd like to point out that if you just keep waiting for others to do something before you take the next step you might never get anywhere. For what it's worth I'm trying to experiment with something in this space, but it's not likely that I will produce anything useful for a long time since it's just something I do when I have free time. |
Beta Was this translation helpful? Give feedback.
-
The eventual socket library I am currently planning the design of the Core Library in this project: https://github.com/odin-lang/Odin/projects/2 |
Beta Was this translation helpful? Give feedback.
-
@hasenj good point! I have begin working on something. @gingerBill when you say core library are you referring to the http library that will be within Odin? |
Beta Was this translation helpful? Give feedback.
-
@m-henderson Yes. The core library is the library that comes with the compiler. Some people call it the standard library but I call it the core library (for a few years). |
Beta Was this translation helpful? Give feedback.
-
@gingerBill what is an issue number that I can help with that is not too complicated? I am new to development on compilers. |
Beta Was this translation helpful? Give feedback.
-
Do you mean it won't even use the c socket api under the hood? |
Beta Was this translation helpful? Give feedback.
-
@hasenj It will use the OS-specific libraries rather than linking to third-party libraries. |
Beta Was this translation helpful? Give feedback.
-
I would like to know when to expect the (core) HTTP Module? There exists a similar module https://github.com/laytan/odin-http. |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
is there a way yet to create a simple webserver with odin? I am wanting to contribute to the Hucelia ("web framework for odin") but the team is just waiting on there to be a way to create a simple webserver with Odin. Like an HTTP module in Odin or something.
Describe the solution you'd like
I need a way to create a simple web server that can serve files via http request.
Additional context
let me know if you need more context from me
Beta Was this translation helpful? Give feedback.
All reactions