Posts a form to a registered address and reads the answer as server-sent
events, calling onEvent for each; used for OpenID Provider Commands'
tenant commands.
The timeout is an idle timeout; an answer that is not text/event-stream
is read whole and returned as body. Never rejects.
the entry carrying the address under attribute
the attribute holding the address, one of SENDABLE
the form body
Optionaloptions: any
idleMs, maxBytes, maxEvents, lastEventId and
onEvent({ id, event, data })
a promise of { ok, status, kind, why, url, events, lastEventId, ended, body, contentType }
Forwards to
FederationHttp.streamEvents().