New Crystal Enthusiast!

Hi all!

I am very interested in learning Crystal and helping the community grow,

Should I just recommend people to read the learn documentation: https://crystal-lang.org/reference/overview/ when starting out?

Tech question:
I also wanted to know if there was a specific way to send some string or bytes to the client in an http server without completely closing the response in the server?

For example in nodejs/express I can do response.send or response.write where as the latter is what I want to do, write data without doing a response.end() closing out the response connection.

2 Likes

I think you’re looking for response#flush.

2 Likes

awesome to have you in the community. Welcome!

1 Like

Wow, thank you very much!

Flush was exactly what I needed. The api docs definitely are what I needed not the https://crystal-lang.org/docs/

But the https://crystal-lang.org/api/0.32.1/

Thanks!