This adds a constructor that provides the Service name. This is used in river for naming the proxy services.
It would be possible to avoid this new constructor, however HttpProxy::new() is private, so I went with this to be consistent. I would also be happy to have direct access to the HttpProxy constructor.
This is currently needed for the 0.2 release of river.
This adds a constructor that provides the
Service
name. This is used inriver
for naming the proxy services.It would be possible to avoid this new constructor, however
HttpProxy::new()
is private, so I went with this to be consistent. I would also be happy to have direct access to theHttpProxy
constructor.This is currently needed for the 0.2 release of
river
.