Skip to content

Commit

Permalink
Renomeando função de SynchronizeEvents para SynchronizedEvents
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusbarzon committed Nov 13, 2023
1 parent 9a2615e commit 23a4761
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/RESTRequest4D.Request.Contract.pas
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ interface
function ClearBody: IRequest;
{$IF DEFINED(RR4D_NETHTTP)}
function Asynchronous(const AValue: Boolean): IRequest;
function SynchronizeEvents(const AValue: Boolean): IRequest;
function SynchronizedEvents(const AValue: Boolean): IRequest;
{$ENDIF}
{$IF DEFINED(RR4D_INDY) or DEFINED(FPC) or DEFINED(RR4D_SYNAPSE) or DEFINED(RR4D_NETHTTP)}
function AddParam(const AName, AValue: string): IRequest;
Expand Down
4 changes: 2 additions & 2 deletions src/RESTRequest4D.Request.NetHTTP.pas
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ TRequestNetHTTP = class(TInterfacedObject, IRequest)
function AddFile(const AFieldName: string; const AFileName: string; const AContentType: string = ''): IRequest; overload;
function AddFile(const AFieldName: string; const AValue: TStream; const AFileName: string = ''; const AContentType: string = ''): IRequest; overload;
function Asynchronous(const AValue: Boolean): IRequest;
function SynchronizeEvents(const AValue: Boolean): IRequest;
function SynchronizedEvents(const AValue: Boolean): IRequest;
function MakeURL(const AIncludeParams: Boolean = True): string;
function Proxy(const AServer, APassword, AUsername: string; const APort: Integer): IRequest;
function DeactivateProxy: IRequest;
Expand Down Expand Up @@ -312,7 +312,7 @@ function TRequestNetHTTP.Asynchronous(const AValue: Boolean): IRequest;
FNetHTTPClient.Asynchronous := AValue;
end;

function TRequestNetHTTP.SynchronizeEvents(const AValue: Boolean): IRequest;
function TRequestNetHTTP.SynchronizedEvents(const AValue: Boolean): IRequest;
begin
Result := Self;
FNetHTTPClient.SynchronizeEvents := AValue;
Expand Down

0 comments on commit 23a4761

Please sign in to comment.