SFCHTTPCLIENT | HTTP CLIENT Component

  • This half-day course introduces learners to the new low-level component, Symfony HTTP Client released since Symfony 4.3. It allows you to acquire solid bases to perform synchronous and asynchronous requests to from any remote server, through a multitude of options available.
  • Prerequisites

    Good knowledge of PHP and Object Oriented Programming, Experience with Symfony
  • Goals

    The training provides a solid foundation for making synchronous and asynchronous requests to any remote server, through a multitude of options available.

Full program

Introduction

  • Context and definitions
  • Introducing the HTTP Client
  • Symfony, PSR-18, PSR-17, PSR-7, HTTPlug contracts

Getting started with HTTP Client

  • Component installation
  • Write your first request with HTTP Client and process a simple response
  • Discover the different options of the HTTP request
  • Discover ResponseInterface and ResponseTrait to manipulate its HTTP response
  • Handle different error cases with HTTP Client
  • Handling decorators of the HTTP Client class

TP

Time program

Day 1

Appreciation of the training

Global average : 4.3/5

  1. Educational rating : 4.7/5
  2. Content rating : 4.1/5
  3. Pace rating : 4.2/5
  • Duration

    3 hour(s)
  • Level

    Intermediate
  • Available languages

    French, English
  • Available countries

    Worldwide
From €390.00
No session scheduled

No session is scheduled for this course. However we organize tailored training courses: contact us for more informations!