{"id":16310596,"url":"https://github.com/astj/p6-crust-middleware-wrappsgi","last_synced_at":"2025-04-14T04:41:37.371Z","repository":{"id":72102337,"uuid":"93511543","full_name":"astj/p6-Crust-Middleware-WrapPSGI","owner":"astj","description":null,"archived":false,"fork":false,"pushed_at":"2017-07-01T08:59:31.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-16T09:41:52.312Z","etag":null,"topics":["perl6"],"latest_commit_sha":null,"homepage":null,"language":"Perl6","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"artistic-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/astj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-06T11:38:06.000Z","updated_at":"2017-07-01T02:58:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"fda47b06-5f65-4d44-ba6f-984d864661aa","html_url":"https://github.com/astj/p6-Crust-Middleware-WrapPSGI","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astj%2Fp6-Crust-Middleware-WrapPSGI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astj%2Fp6-Crust-Middleware-WrapPSGI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astj%2Fp6-Crust-Middleware-WrapPSGI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astj%2Fp6-Crust-Middleware-WrapPSGI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/astj","download_url":"https://codeload.github.com/astj/p6-Crust-Middleware-WrapPSGI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248824660,"owners_count":21167343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["perl6"],"created_at":"2024-10-10T21:42:21.469Z","updated_at":"2025-04-14T04:41:37.351Z","avatar_url":"https://github.com/astj.png","language":"Perl6","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/astj/p6-Crust-Middleware-WrapPSGI.svg?branch=master)](https://travis-ci.org/astj/p6-Crust-Middleware-WrapPSGI)\n\nNAME\n====\n\nCrust::Middleware::WrapPSGI - An wrapper middleware for legay PSGI apps\n\nSYNOPSIS\n========\n\n    # An legacy PSGI app\n    my $psgi-app = -\u003e %env {\n        (200, [ 'Content-Type' =\u003e 'text/plain' ], [ 'Hello World' ]);\n    };\n    my $wrapped-app = builder {\n        # You can add other middlewares which expects Promise as response here.\n        enable \"WrapPSGI\";\n        # And you can add other *legacy* middlewares which expects Capture as response here.\n        $psgi-app;\n    };\n\nDESCRIPTION\n===========\n\nCrust::Middleware::WrapPSGI is a simple wrapper middleware for legacy PSGI applications. [P6W](P6W) (formally known as PSGI) Version 0.7.Draft expects P6W apps to implement \"request-response\" protocol. Under the protocol, P6W apps must return a Promise which is kept with a Capture with 3-elements response.\n\nThis middleware enables \"legacy\" PSGI applications which directly returns Capture (that means the application can respond to only psgi protocol) to work with \"request-response\" protocol.\n\nAUTHOR\n======\n\nAsato Wakisaka \u003casato.wakisaka@gmail.com\u003e\n\nCOPYRIGHT AND LICENSE\n=====================\n\nCopyright 2017 Asato Wakisaka\n\nThis library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastj%2Fp6-crust-middleware-wrappsgi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastj%2Fp6-crust-middleware-wrappsgi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastj%2Fp6-crust-middleware-wrappsgi/lists"}