Written by

UKK Köln
Question Dmitrii Baranov · Oct 21, 2023

%CSP.REST - accessing raw stream

Hi, How can I get an instance of stream which is a successor of %Stream.Object in a method that handles a REST POST request?

#dim request as %CSP.Request = %request
 set content = request.Content

This returns a variable of type %CSP.Stream which is totally useless, because %CSP.Stream does not inherit from %Stream.Object

Product version: IRIS 2023.1

Comments

Dmitrii Baranov  Oct 21, 2023 to Robert Cemper

Thanks a lot Robert. I completely forgot about multiple inheritance 😶

0