I get pdf documents from some server api in base64 encoded format and have to send that file to browser as downlodable file.
I worked with BinaryFileResponse but it requires file path and I don't want to write files on the disk even for a second.
I've tried Symfony\Component\HttpFoundation\Request; but I can't set name of a file and it's content-type.