11-- ----------------------------------------------------------------------------
22-- Ada Web Server --
33-- --
4- -- Copyright (C) 2012-2016 , AdaCore --
4+ -- Copyright (C) 2012-2021 , AdaCore --
55-- --
66-- This library is free software; you can redistribute it and/or modify --
77-- it under terms of the GNU General Public License as published by the --
@@ -92,7 +92,7 @@ package body AWS.Net.WebSocket is
9292 Protocol : AWS.Net.WebSocket.Protocol.State_Class;
9393 URL : constant AWS.URL.Object := AWS.URL.Parse (URI);
9494 begin
95- -- Initially, the connection is initiated with standard http GET.
95+ -- Initially, the connection is initiated with standard http GET
9696
9797 Socket.Connection := new AWS.Client.HTTP_Connection;
9898 Protocol := new Net.WebSocket.Protocol.RFC6455.State;
@@ -402,7 +402,7 @@ package body AWS.Net.WebSocket is
402402 function Poll
403403 (Socket : in out Object'Class;
404404 Timeout : Duration)
405- return Boolean
405+ return Boolean
406406 is
407407 procedure Do_Receive
408408 (Socket : not null access Object'Class;
@@ -423,7 +423,7 @@ package body AWS.Net.WebSocket is
423423 end Do_Receive ;
424424
425425 function Read_Message is new AWS.Net.WebSocket.Read_Message
426- (Receive => Do_Receive);
426+ (Receive => Do_Receive);
427427
428428 Obj : Object_Class := Socket'Unrestricted_Access;
429429 Event : AWS.Net.Event_Set;
@@ -465,8 +465,8 @@ package body AWS.Net.WebSocket is
465465 -- ----------------
466466
467467 function Read_Message
468- (WebSocket : in out Object_Class;
469- Message : in out Ada.Strings.Unbounded.Unbounded_String)
468+ (WebSocket : in out Object_Class;
469+ Message : in out Ada.Strings.Unbounded.Unbounded_String)
470470 return Boolean
471471 is
472472 Data : Stream_Element_Array (1 .. 4_096 );
0 commit comments