| name | bitrix-request-response |
| description | HttpRequest/HttpResponse, Json/AjaxJson/Redirect, Uri, UuidGenerator. Use instead of $_GET/$_POST and raw headers. |
Application, Context, Request, Response
Baseline: main 23.0+. Features newer than baseline are marked Since.
Progressive disclosure: open only the rule files that match the task. Do not read every rules/*.md.
How to use
- Identify the layer the task touches.
- Open the matching
rules/*.md below.
- Prefer framework-native Bitrix patterns over custom abstractions.
Choose a rule file
When to read rules/application-context.md
Read rules/application-context.md (Application and Context) when the task involves:
When to read rules/request.md
Read rules/request.md (HttpRequest and JSON body) when the task involves:
- HttpRequest
- ParameterDictionary
When to read rules/response.md
Read rules/response.md (HttpResponse and typed responses) when the task involves:
- HttpResponse
- Built-in Response Classes
- Checklist
- Encrypted Cookies
When to read rules/uri-uuid.md
Read rules/uri-uuid.md (Uri and UuidGenerator) when the task involves:
Checklist