New example that builds on echo-endpoint. It has both an http server that is served over iroh, as well as an http client (using net/http:Client.Post) that sends a POST request to the server.
With this example we've now completed the "http over iroh" loop, all done using iroh-go and the go standard library :)
Btw not sure if the makefile will work for this one? What invocation do you use to get it to build binaries (I just use my gor alias for go run during local development).
fwiw example has a lot of TODOs in the net.Conn implementation 'X)
ai code disclosure: #neverslop don't use em
New example that builds on `echo-endpoint`. It has both an http server that is served over iroh, as well as an http client (using `net/http:Client.Post`) that sends a POST request to the server.
With this example we've now completed the "http over iroh" loop, all done using `iroh-go` and the go standard library :)
Btw not sure if the makefile will work for this one? What invocation do you use to get it to build binaries (I just use my `gor` alias for `go run` during local development).
fwiw example has a lot of TODOs in the `net.Conn` implementation 'X)
---
ai code disclosure: #neverslop don't use em
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
New example that builds on
echo-endpoint. It has both an http server that is served over iroh, as well as an http client (usingnet/http:Client.Post) that sends a POST request to the server.With this example we've now completed the "http over iroh" loop, all done using
iroh-goand the go standard library :)Btw not sure if the makefile will work for this one? What invocation do you use to get it to build binaries (I just use my
goralias forgo runduring local development).fwiw example has a lot of TODOs in the
net.Connimplementation 'X)ai code disclosure: #neverslop don't use em
examples: add http-client using net/http:Clientto examples: add http-dialer using net/http:ClientView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.