Enforces the rule that an 'unsafe' request monopolizes the HTTPSession. A 'safe' request does not modify a resource state on the server, and such a request has no body.
class ref _SessionGuard
new iso create( session: HTTPSession tag) : _SessionGuard iso^
- session: HTTPSession tag
- _SessionGuard iso^
Accept a request for transmission to the server. This will fail if the request is not "safe" and the HTTPSession is busy. Due to the possibly large body size, these requests can not be queued.
fun ref submit( request: Payload val) : None val ?
- request: Payload val
- None val ?