added labs recap, http stuff, oak routing and middleware

This commit is contained in:
khannurien
2026-01-28 21:12:03 +00:00
parent 210c044ed6
commit 9730dbe550
21 changed files with 1119 additions and 2570 deletions

85
res/async.drawio Normal file
View File

@@ -0,0 +1,85 @@
<mxfile host="65bd71144e" scale="3" border="0">
<diagram id="AZTYWFn2qbMvXExw4gZ1" name="Page-1">
<mxGraphModel dx="919" dy="988" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="5" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontFamily=Lucida Console;fontSize=14;" edge="1" parent="1" source="2">
<mxGeometry relative="1" as="geometry">
<mxPoint x="180" y="640" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="2" value="main()" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;fontFamily=Lucida Console;fontSize=14;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="120" y="360" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="6" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontFamily=Lucida Console;fontSize=14;" edge="1" parent="1" source="3">
<mxGeometry relative="1" as="geometry">
<mxPoint x="350" y="630" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="3" value="taskA()" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;fontFamily=Lucida Console;fontSize=14;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="290" y="360" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="14" value="attente" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fontFamily=Lucida Console;fontSize=14;fillColor=#ffe6cc;strokeColor=#d79b00;" edge="1" parent="1" source="7" target="10">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="7" value="" style="rounded=0;whiteSpace=wrap;html=1;rotation=90;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Lucida Console;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="167.5" y="440" width="50" height="10" as="geometry"/>
</mxCell>
<mxCell id="15" value="retour" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fontFamily=Lucida Console;fontSize=14;fillColor=#dae8fc;strokeColor=#6c8ebf;" edge="1" parent="1" source="10" target="12">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="10" value="" style="rounded=0;whiteSpace=wrap;html=1;rotation=90;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Lucida Console;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="310" y="520" width="50" height="10" as="geometry"/>
</mxCell>
<mxCell id="12" value="" style="rounded=0;whiteSpace=wrap;html=1;rotation=90;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Lucida Console;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="167.5" y="600" width="50" height="10" as="geometry"/>
</mxCell>
<mxCell id="16" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontFamily=Lucida Console;fontSize=14;" edge="1" parent="1" source="17">
<mxGeometry relative="1" as="geometry">
<mxPoint x="540" y="640" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="17" value="main()" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;fontFamily=Lucida Console;fontSize=14;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="480" y="360" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="18" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontFamily=Lucida Console;fontSize=14;" edge="1" parent="1" source="19">
<mxGeometry relative="1" as="geometry">
<mxPoint x="710" y="630" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="19" value="taskA()" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;fontFamily=Lucida Console;fontSize=14;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="650" y="360" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="25" value="callback" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.25;exitY=0;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Lucida Console;fontSize=14;" edge="1" parent="1" source="21" target="23">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="695" y="473"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="21" value="" style="rounded=0;whiteSpace=wrap;html=1;rotation=90;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Lucida Console;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="446.25" y="521.25" width="212.5" height="10" as="geometry"/>
</mxCell>
<mxCell id="26" value="événement" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.75;entryY=0;entryDx=0;entryDy=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Lucida Console;fontSize=14;" edge="1" parent="1" source="23" target="21">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="23" value="" style="rounded=0;whiteSpace=wrap;html=1;rotation=90;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Lucida Console;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="670" y="520" width="50" height="10" as="geometry"/>
</mxCell>
<mxCell id="27" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="450" y="640" as="sourcePoint"/>
<mxPoint x="450" y="280" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="28" value="Synchrone" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Lucida Console;fontStyle=0;fontSize=16;fillColor=#e1d5e7;strokeColor=#9673a6;" vertex="1" parent="1">
<mxGeometry x="217.5" y="290" width="110" height="30" as="geometry"/>
</mxCell>
<mxCell id="29" value="Asynchrone" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Lucida Console;fontStyle=0;fontSize=16;fillColor=#e1d5e7;strokeColor=#9673a6;" vertex="1" parent="1">
<mxGeometry x="570" y="290" width="110" height="30" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>