mcpField
B
bitrix-http-client

bitrix-http-client

github.com/bxmaximumDevelopment47269 installsUpdated 2w ago
Repository

About bitrix-http-client

A HttpClient skill for Bitrix developers, covering HTTP requests, configuration, and security. It highlights explicit timeouts and streaming large responses to files.

Key features

  1. 01Send GET, POST, and JSON requests
  2. 02Handle multipart and async requests
  3. 03Configure defaults and logging
  4. 04Check for SSRF risks
  5. 05Download large responses to files

Use cases

  1. 01Make requests through PSR-18
  2. 02Handle user-provided URLs safely
  3. 03Download large response bodies

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/bxmaximum/bitrix-framework-skills --skill bitrix-http-client

After installing, type/bitrix-http-clientin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

rules/
config-security.md
geoip.md
requests.md

Details

From the project README

HttpClient

Baseline: main 23.0+ · Verified: main 26.800.0

TaskRead
GET/POST/JSON/download, PSR-18 requests, multipart, asyncrules/requests.md
Options, global defaults, logging, SSRF, CHTTP replacementsrules/config-security.md
Country/city/time zone by IPrules/geoip.md

Invariants

  • Only Bitrix\Main\Web\HttpClient; CHTTP and raw curl_* / file_get_contents($url) are compat only.
  • Set socketTimeout and streamTimeout explicitly: defaults are 30 s and 60 s.
  • URLs from users, webhooks or imports: 'privateIp' => false (the default true allows internal addresses).
  • Check the status before decoding; legacy calls return false on transport errors (getError()), PSR-18 throws ClientException.
  • Stream large bodies to a file (download()), don't hold them in memory.

Comments

Markdown supported