# Functions
NewProxy returns a new proxy which will route using a http client.
NewService returns a new http proxy.
NewSingleHostProxy returns a router which sends requests to a single http backend.
NewSingleHostRouter returns a router which sends requests a single http backend
It is used by setting it in a new vine service to act as a proxy for a http backend.
RegisterEndpoint registers a http endpoint against an RPC endpoint RegisterEndpoint("Foo.Bar", "/foo/bar") RegisterEndpoint("Greeter.Hello", "/helloworld") RegisterEndpoint("Greeter.Hello", "http://localhost:8080/").
WithBackend provides an option to set the http backend url.
WithRouter provides an option to set the http router.