How to avoid class name conflicts in different plugins?

Hello,

I am developing two plugins. Let’s say MyApiClient and MyApiServer.
In both of these plugins there a lot of similarities including almost identical classes with the same name.

For instance, there is a class called MyApiHttpRequest.
In order to avoid name clashes, I called one class MyApiClientHttpRequest and the other: MyApiServerHttpRequest. this helps.

But are there any other smart ways to avoid conflicts? Maybe using namespaces, or maybe use some upper level c++ library for these classes?

Can you guide me?

You sort of answered your own question. This problem is pretty much the only reason why namespaces even exist so you should definitely use them for this.

unreal does not support namespaces