{"type":"video","version":"1.0","html":"<iframe src=\"https://www.loom.com/embed/76af2225cf0246d0b4f609ab3e35fff9\" frameborder=\"0\" width=\"1920\" height=\"1440\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>","height":1440,"width":1920,"provider_name":"Loom","provider_url":"https://www.loom.com","thumbnail_height":1440,"thumbnail_width":1920,"thumbnail_url":"https://cdn.loom.com/sessions/thumbnails/76af2225cf0246d0b4f609ab3e35fff9-00001.gif","duration":924.978,"title":"Improving Server Class and Generic Types","description":"In this Loom, I discuss the changes I made to the server class to make it more generic and accept different server options. I also explain how I renamed the server response to avoid overlap with the HTTP type. These changes allow the servers to have code references specific to request and response types. I demonstrate how the new generic types make the code cleaner and easier to understand. I also mention the testing utilities I created and how they can be used. No action is requested from the viewers, but if they have any questions or need more clarity, I encourage them to reach out to me."}