[Twisted-Python] Endpoint composition syntax

Tom Prince tom.prince at ualberta.net
Wed Oct 12 20:35:22 MDT 2016


> Do you have a suggestion or an example of how this might be used?


The idea I have in my head isn't backwards compatible, but I was thinking
of something like

haproxy:(tls:hostname.example:endpoint=(tcp:7.6.5.4:443))

This would break any endpoint description that starts with `(` but allows
arbitrarily nested endpoints (or even just date containing `:`).

Thinking about it some more, there isn't currently any endpoint
descriptions that have an empty name, so we could have a entirely new
syntax that starts with `:`. If we went in that direction, we'd definitely
want to think about future extensibility when designing it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20161013/25265cfa/attachment-0002.html>


More information about the Twisted-Python mailing list