1
0
mirror of https://github.com/php/doc-ru.git synced 2026-03-26 00:32:15 +01:00
Files
archived-doc-ru/reference/radius/functions/radius-send-request.xml
Sergey Panteleev 7c5429ce4e Исправление форматирования
[skip-lint]
[skip-spellcheck]
2021-10-21 10:02:49 +03:00

77 lines
2.5 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: e6553e39c9d6a20588c464b9af07cbdf07cfe07d Maintainer: sergey Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="function.radius-send-request" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>radius_send_request</refname>
<refpurpose>Отправляет запрос и ждёт ответ</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>int</type><methodname>radius_send_request</methodname>
<methodparam><type>resource</type><parameter>radius_handle</parameter></methodparam>
</methodsynopsis>
<para>
После создания запроса Radius отправляет его с помощью
<function>radius_send_request</function>.
</para>
<para>
Функция <function>radius_send_request</function> отправляет запрос и ожидает корректный ответ,
повторяя попытки с определёнными серверами в циклическом режиме по мере необходимости.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
&radius.parameter.handle;
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Если получен корректный ответ, <function>radius_send_request</function>
возвращает код Radius, который указывает тип ответа. Обычно это <constant>RADIUS_ACCESS_ACCEPT</constant>,
<constant>RADIUS_ACCESS_REJECT</constant> или
<constant>RADIUS_ACCESS_CHALLENGE</constant>.
Если корректный ответ не получен, <function>radius_send_request</function> возвращает &false;.
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>radius_create_request</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->