Arham Jain

Results 38 comments of Arham Jain

Well, the routing DSL can be pretty easily changed without worrying about Jester. The only thing that Jester is being used for is for parsing a route and extracting information...

Yeah, that does help a lot actually! Personally, I think that it might be worth adding more user related functionality directly into litestore at some point (rather than limiting it...

Sure, that makes sense. I only proposed changing the schema due to potential performance concerns, as I know that duktape isn't super fast (but you don't want to add V8...

Yes, I was referring to the get request example with httpbin. I feel like get requests (which are always going to happen on port 80) should be a simple function...

So, do you think that a wrapper on nim's httpclient library would add too much bloat to Min? I personally really want it in, but if you don't want it,...

Okay. I'll also see if I can get it done before.

Thanks for adding this! I haven't tried it out yet, but I read through the source and it appears to be exactly what I wanted. Close this issue if you...

I did some profiling, leaving some notes here: https://github.com/dom96/httpbeast/blob/5202b4c67ad2ed86346e2c35ae168f6f7af30e57/src/httpbeast.nim#L252-L253 These lines are a bit expensive - we could probably forgo the buffer and `recv` directly into the data.data string https://github.com/dom96/httpbeast/blob/5202b4c67ad2ed86346e2c35ae168f6f7af30e57/src/httpbeast.nim#L432-L443...

Potentially, though I seem to recall Araq being against stdlib optimizations since they seem to inevitably break someone's code. Additionally, I'm suggesting a different proc signature - rather than the...

Yeah... I would love to see examples. I understand that writing documentation as of now would be too much, compared to a few examples.