PrismCore / API reference / Loopback server
Enumeration
ProviderResult
enum ProviderResultDeclared in Sources/PrismCore/Loopback/SegmentProvider.swift · PrismCore 3.5.4
What a provider can answer with for one request path.
Cases
case data(Data, contentType: String)The payload is in hand — the server frames a Content-Length response.
case pending(PendingResult)The payload is still being produced. The server races the resolution against its slow-serve threshold, so a producer that needs seconds does not have to lie about it (see LoopbackHTTPServer for the framing).
Generated from the public symbols of PrismCore 3.5.4. All types