FCGI::...Factory(3pm)
π FCGI::Client::RecordFactory(3pm) β like, the FCGI record factory, bestie
Okay so picture this: it's the FCGI::Client::RecordFactory page from the User Contributed Perl Documentation, and it is literally just a little factory that builds FCGI records for you. That's the whole vibe. It's giving "small module, big main character energy" β¨
πΈ NAME πΈ
FCGI::Client::RecordFactory β an FCGI record factory. Yep, that's it, that's the job. She makes records. She slays. Periodt π
π HIGH LEVEL API METHODS π
This is the easy-breezy tier, the one you reach for when you just want it to work.
FCGI::Client::RecordFactory->create_request($reqid, $env, $content);β this one creates a whole set of request records for you π«Ά$envis your environment variables, same as CGI. Like, exactly the same deal.$contentis the request body.- It returns a string of request records. That's it. That's the return value.
- And then you can send it to socket π go off.
π¦ LOW LEVEL API METHODS π¦
Now we're in the build-it-yourself aisle, bestie. These are the individual pieces in case you wanna assemble stuff by hand π
FCGI::Client::RecordFactory->build_begin_request($reqid, FCGI_RESPONDER, $flags);β builds anFCGI_BEGIN_REQUESTrecord. Iconic. Foundational. The opening number π₯FCGI::Client::RecordFactory->build_params($reqid, %$env)β builds anFCGI_PARAMSrecord, feeding it your env hash. No cap, that's the whole thing.FCGI::Client::RecordFactory->build_stdin($reqid, $content);β builds anFCGI_STDINrecord from your content. Chef's kiss π
π SEE ALSO π
FCGI::Clientβ go look at her, she's the whole reason this little factory exists π
π ngl bestie, that's the entire page. Short, sweet, and every single flag and method is accounted for. Nothing skipped, nothing invented. Vibe check passed.
~ cute lil sign-off ~ π§ This beauty is from perl v5.42.0, dated 2018-07-17, and it lives in the FCGI::...Factory(3pm) corner of the man-page universe. Mwah π see you in the next one, bestie! πΈπ¦π
π¦ where this page comes from
- opensuse-leap 16.0: perl-FCGI-Client 0.90.0-bp160.1.11 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms