ecluse:ecluse-core
Safe HaskellNone
LanguageGHC2021

Ecluse.Core.Server.Pipeline.Publish

Description

The first-party publish route, guarded before any upstream write. Credential selection follows the authenticated edge mode. Body limits and name agreement bound the request before the adapter relays it to the publication target.

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 -> PackageName -> Request -> (response -> IO ResponseReceived) -> Handler ResponseReceived Source #

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