Add record discloser for request objects.
This commit is contained in:
parent
64e2e8bc8a
commit
7d6b83e370
|
@ -7,6 +7,11 @@
|
||||||
(request surflet-request-request)
|
(request surflet-request-request)
|
||||||
(input-port surflet-request-input-port))
|
(input-port surflet-request-input-port))
|
||||||
|
|
||||||
|
(define-record-discloser :surflet-request
|
||||||
|
(lambda (r)
|
||||||
|
(list 'surflet-request
|
||||||
|
(surflet-request-request r))))
|
||||||
|
|
||||||
(define (make-fake-selector request-selector)
|
(define (make-fake-selector request-selector)
|
||||||
(lambda (surflet-request)
|
(lambda (surflet-request)
|
||||||
(request-selector (surflet-request-request surflet-request))))
|
(request-selector (surflet-request-request surflet-request))))
|
||||||
|
|
Loading…
Reference in New Issue