ecluse:ecluse-core
Safe HaskellNone
LanguageGHC2021

Ecluse.Core.Server.Pipeline.Publish

Description

First-party publication checks caller authority and body identity before target discovery or relay.

Synopsis

Documentation

data PublishReplies response Source #

Route-owned replies, including the publication target's unrestricted status codes.

Constructors

PublishReplies 

Fields

The first-party publish handler

servePublish :: PublishReplies response -> Maybe PackageName -> Request -> (response -> IO ResponseReceived) -> Handler ResponseReceived Source #

Relay a configured first-party publish after authentication and body guards.