Relative Content

Tag Archive for headers

Common header file for C++ and JavaScipt

I have an app that runs a C++ server backend and Javascript on the client. I would like to define certain strings once only, for both pieces of code. For example, I might have a CSS class “row-hover” – I want to define this class name in one place only in case I change it later.

Common header file for C++ and JavaScipt

I have an app that runs a C++ server backend and Javascript on the client. I would like to define certain strings once only, for both pieces of code. For example, I might have a CSS class “row-hover” – I want to define this class name in one place only in case I change it later.

Custom use of Authorization header in a REST API

I’m building a REST api where clients are authenticated using client certificates. A client in this case is not an individual user, but some sort of a presentation layer. Users are authenticated using a custom approach and it’s the responsibility of the presentation layer to see that this is properly done (note: I know this is not the proper approach, but the api is not public).