{% extends '@WebProfiler/Profiler/layout.html.twig' %} {% block toolbar %} {% if collector.stacks|length > 0 %} {% set icon %} {{ include('@Httplug/Icon/httplug.svg') }} {{ collector.stacks|length }} in {{ collector.totalDuration|number_format }} ms {% endset %} {% set text %}
{{ collector.stacks|length }} requests
{% for stack in collector.stacks %} {% set target = stack.requestTarget %} {% endfor %}
Client Method Target Time Status
{{ stack.client }} {{ stack.requestMethod }}{{ target|length > 30 ? target[:30] ~ '...' : target }} {{ stack.duration == 0 ? 'n/a' : stack.duration|number_format ~ ' ms'}} {{ stack.failed ? 'FAILED' : stack.responseCode|default('n/a') }}
{% endset %} {% include '@WebProfiler/Profiler/toolbar_item.html.twig' with { 'link': profiler_url, 'status': collector.failedStacks|length ? 'red' : '' } %} {% endif %} {% endblock %} {% block head %} {{ parent() }} {% endblock %} {% block menu %} {# This left-hand menu appears when using the full-screen profiler. #} {{ include('@Httplug/Icon/httplug.svg') }} Httplug {{ (collector.stacks|length - collector.failedStacks|length) ~ '/' ~ collector.stacks|length}} {% endblock %} {% block panel %}

HTTPlug

{% for client in collector.clients %}

{{ client }} {{ collector.countClientMessages(client) }}

These messages are sent by client named "{{ client }}".

{% for stack in collector.clientRootStacks(client) %}
{% include '@Httplug/stack.html.twig' with { 'collector': collector, 'client': client, 'stack': stack, 'id': loop.index } only %}
{% endfor %}
{% else %}

No request were sent.

{% endfor %}
{% endblock %}